IDataOutputExtensions.WriteBooleanAsync(IDataOutput, Boolean) 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.
Writes a Boolean value as one byte in a task.
public static System.Threading.Tasks.Task WriteBooleanAsync(this Java.IO.IDataOutput self, bool v);
static member WriteBooleanAsync : Java.IO.IDataOutput * bool -> System.Threading.Tasks.Task
Parameters
- self
- IDataOutput
The data output to write to.
- v
- Boolean
The value to write as 1 for true or 0 for false.
Returns
A task that reports completion or failure of the write operation.
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.