Språk

BackupDataInput.ReadNextHeaderAsync Method

Definition

Runs ReadNextHeader() on a thread pool thread.

public System.Threading.Tasks.Task<bool> ReadNextHeaderAsync();
member this.ReadNextHeaderAsync : unit -> System.Threading.Tasks.Task<bool>

Returns

A task whose result is true if an entity is ready to read, or false if the restore stream has been fully read.

Remarks

This .NET wrapper uses Task.Run to call the synchronous method. Await the task before inspecting Key or DataSize, or starting another operation on this input.

.NET task wrapper implementation.

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