CTQuickSwitchManager.GetDeviceState 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.
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