Share via


Platform.WaitForActivityAsync(CancellationToken) Method

Definition

Wait for an Activity to be create or active.

public static System.Threading.Tasks.Task<Android.App.Activity> WaitForActivityAsync (System.Threading.CancellationToken cancelToken = null);

Parameters

cancelToken
System.Threading.CancellationToken

Cancellation token to stop waiting for Activity to be created or active.

Returns

System.Threading.Tasks.Task<Android.App.Activity>

The current Android Activity.

Applies to