Class WKInterfaceSwitch

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class WKInterfaceSwitch
extends WKInterfaceObject
Since:
Available in iOS 8.2 and later.
  • Constructor Details

    • WKInterfaceSwitch

      protected WKInterfaceSwitch()
    • WKInterfaceSwitch

      protected WKInterfaceSwitch​(NSObject.Handle h, long handle)
    • WKInterfaceSwitch

      protected WKInterfaceSwitch​(NSObject.SkipInit skipInit)
  • Method Details

    • setTitle

      public void setTitle​(String title)
    • setAttributedTitle

      public void setAttributedTitle​(NSAttributedString attributedTitle)
    • setEnabled

      public void setEnabled​(boolean enabled)
    • setOn

      public void setOn​(boolean on)
    • setColor

      public void setColor​(UIColor color)