IAccountManagerFutureExtensions.GetResultAsync 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.
Asynchronously retrieves the future result, waiting up to the specified timeout.
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
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 yields the future result when the operation completes.
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.