Android.Accounts.IAccountManagerFuture
A AccountManagerFuture represents the result of an asynchronous Android.Accounts.AccountManager call.

See Also: IAccountManagerFuture Members

Syntax

[Android.Runtime.Register("android/accounts/AccountManagerFuture", "", "Android.Accounts.IAccountManagerFutureInvoker")]
public interface IAccountManagerFuture : Android.Runtime.IJavaObject, IDisposable

Remarks

A AccountManagerFuture represents the result of an asynchronous Android.Accounts.AccountManager call. Methods are provided to check if the computation is complete, to wait for its completion, and to retrieve the result of the computation. The result can only be retrieved using method get when the computation has completed, blocking if necessary until it is ready. Cancellation is performed by the cancel method. Additional methods are provided to determine if the task completed normally or was cancelled. Once a computation has completed, the computation cannot be cancelled. If you would like to use a Future for the sake of cancellability but not provide a usable result, you can declare types of the form Future<?> and return null as a result of the underlying task.

[Android Documentation]

Requirements

Namespace: Android.Accounts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5