Language

CTQuickSwitchManager.GetDeviceState Method

Definition

Gets the device's quick-switch state.

[Foundation.Export("getDeviceState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void GetDeviceState(CoreTelephony.CTQuickSwitchManagerStateCompletionHandler completionHandler);
[<Foundation.Export("getDeviceState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetDeviceState : CoreTelephony.CTQuickSwitchManagerStateCompletionHandler -> unit
override this.GetDeviceState : CoreTelephony.CTQuickSwitchManagerStateCompletionHandler -> unit

Parameters

completionHandler
CTQuickSwitchManagerStateCompletionHandler

The handler to invoke with the quick-switch state or an error.

Attributes

Applies to