Platform.WaitForActivityAsync(CancellationToken) 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.
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.