CGA_WatchOS_CharacteristicTables_Switch
class CGA_WatchOS_CharacteristicTables_Switch : CGA_WatchOS_CharacteristicTables_Base
This is a switch, for notification.
-
The switch object.
Declaration
Swift
@IBOutlet weak var switchObject: WKInterfaceSwitch!
-
This is called when the switch changes value, and changes the notification state.
Declaration
Swift
@IBAction func switchChanged(_ inValue: Bool)
Parameters
inValue
The new switch value.