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
CancellationToken

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

Returns

Task<Activity>

The current Android Activity.

Remarks

Applies to