Share via


TCTouchController.AddSwitch(TCSwitchDescriptor) Method

Definition

[Foundation.Export("addSwitchWithDescriptor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual TouchController.TCSwitch AddSwitch(TouchController.TCSwitchDescriptor descriptor);
[<Foundation.Export("addSwitchWithDescriptor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AddSwitch : TouchController.TCSwitchDescriptor -> TouchController.TCSwitch
override this.AddSwitch : TouchController.TCSwitchDescriptor -> TouchController.TCSwitch

Parameters

descriptor
TCSwitchDescriptor

Returns

Attributes

Applies to