Language

CTQuickSwitchManager.RegisterForLaunchOnQuickSwitchStateEventsAsync Method

Definition

Registers the app for background launch whenever the device's quick-switch state changes.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task RegisterForLaunchOnQuickSwitchStateEventsAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RegisterForLaunchOnQuickSwitchStateEventsAsync : unit -> System.Threading.Tasks.Task

Returns

A task that represents the asynchronous operation.

Attributes

Applies to