Language

RandomAccessFile.WriteBooleanAsync(Boolean) Method

Definition

Writes a Boolean value to the file as one byte in a task.

public System.Threading.Tasks.Task WriteBooleanAsync(bool v);
member this.WriteBooleanAsync : bool -> System.Threading.Tasks.Task

Parameters

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.

Applies to