public MvxWKInterfaceSwitchTextTargetBinding(WKInterfaceSwitch target) : base(target) { if (target == null) { MvxBindingTrace.Trace(MvxTraceLevel.Error, "Error - WKInterfaceSwitch is null in MvxWKInterfaceSwitchTextTargetBinding"); } }
public MvxWKInterfaceSwitchValueTargetBinding(WKInterfaceSwitch target) : base(target) { if (target == null) { MvxBindingTrace.Trace(MvxTraceLevel.Error, "Error - WKInterfaceSwitch is null in MvxWKInterfaceSwitchTextTargetBinding"); } }
partial void onOffSwitch_Activated(WKInterfaceSwitch sender) { this.ToggleSwitchState(); HueConnector.GetConnector().FlipSwitch(_light, _onOffSwitch); }