WKInterfaceSwitch.SetOn(Boolean) 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.
Turns the switch on or off.
[Foundation.Export("setOn:")]
public virtual void SetOn (bool on);
abstract member SetOn : bool -> unit
override this.SetOn : bool -> unit
Parameters
- on
- Boolean
true
if the switch should be on.
- Attributes