Language

CTQuickSwitchManager.GetDeviceStateAsync Method

Definition

Gets the device's quick-switch state.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<CoreTelephony.CTQuickSwitchState> GetDeviceStateAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetDeviceStateAsync : unit -> System.Threading.Tasks.Task<CoreTelephony.CTQuickSwitchState>
override this.GetDeviceStateAsync : unit -> System.Threading.Tasks.Task<CoreTelephony.CTQuickSwitchState>

Returns

A task that represents the asynchronous operation. The task result contains the quick-switch state.

Attributes

Applies to