Language

IAccountManagerFutureExtensions.GetResultAsync Method

Definition

Runs a timed retrieval of the future result on a thread-pool thread.

public static System.Threading.Tasks.Task<Java.Lang.Object?> GetResultAsync(this Android.Accounts.IAccountManagerFuture self, long timeout, Java.Util.Concurrent.TimeUnit? unit);
static member GetResultAsync : Android.Accounts.IAccountManagerFuture * int64 * Java.Util.Concurrent.TimeUnit -> System.Threading.Tasks.Task<Java.Lang.Object>

Parameters

self
IAccountManagerFuture

The IAccountManagerFuture whose result to retrieve.

timeout
Int64

The maximum time to wait, in units specified by unit.

unit
TimeUnit

The time unit for timeout.

Returns

A task that represents the result retrieval.

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