WKInterfaceSwitch.SetOn(Boolean) Method

Definition

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

Applies to