JsonWriter.ValueAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ValueAsync(Double) |
Runs Value(Double) asynchronously. |
| ValueAsync(Boolean) |
Runs Value(Boolean) asynchronously. |
| ValueAsync(Int64) |
Runs Value(Int64) asynchronously. |
| ValueAsync(Number) |
Runs Value(Number) asynchronously. |
| ValueAsync(String) |
Runs Value(String) asynchronously. |
ValueAsync(Double)
Runs Value(Double) asynchronously.
public System.Threading.Tasks.Task<Android.Util.JsonWriter?> ValueAsync(double value);
member this.ValueAsync : double -> System.Threading.Tasks.Task<Android.Util.JsonWriter>
Parameters
- value
- Double
The double-precision floating-point value to write; non-finite values require lenient mode.
Returns
A task whose result is the writer returned by Value.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ValueAsync(Boolean)
Runs Value(Boolean) asynchronously.
public System.Threading.Tasks.Task<Android.Util.JsonWriter?> ValueAsync(bool value);
member this.ValueAsync : bool -> System.Threading.Tasks.Task<Android.Util.JsonWriter>
Parameters
- value
- Boolean
The Boolean value to write.
Returns
A task whose result is the writer returned by Value.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ValueAsync(Int64)
Runs Value(Int64) asynchronously.
public System.Threading.Tasks.Task<Android.Util.JsonWriter?> ValueAsync(long value);
member this.ValueAsync : int64 -> System.Threading.Tasks.Task<Android.Util.JsonWriter>
Parameters
- value
- Int64
The 64-bit integer value to write.
Returns
A task whose result is the writer returned by Value.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ValueAsync(Number)
Runs Value(Number) asynchronously.
public System.Threading.Tasks.Task<Android.Util.JsonWriter?> ValueAsync(Java.Lang.Number? value);
member this.ValueAsync : Java.Lang.Number -> System.Threading.Tasks.Task<Android.Util.JsonWriter>
Parameters
- value
- Number
The numeric value to write.
Returns
A task whose result is the writer returned by Value.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ValueAsync(String)
Runs Value(String) asynchronously.
public System.Threading.Tasks.Task<Android.Util.JsonWriter?> ValueAsync(string? value);
member this.ValueAsync : string -> System.Threading.Tasks.Task<Android.Util.JsonWriter>
Parameters
- value
- String
The string value to write as a JSON string.
Returns
A task whose result is the writer returned by Value.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.