Class UISwitchStyle


  • public final class UISwitchStyle
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Automatic
      The style most appropriate to the current UIUserInterfaceIdiom
      static long Checkbox
      The AppKit-style checkbox — only supported for Catalyst in the Mac idiom
      static long Sliding
      The on/off sliding style switch — classic iOS appearance.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Automatic

        public static final long Automatic
        The style most appropriate to the current UIUserInterfaceIdiom
        See Also:
        Constant Field Values
      • Checkbox

        public static final long Checkbox
        The AppKit-style checkbox — only supported for Catalyst in the Mac idiom
        See Also:
        Constant Field Values
      • Sliding

        public static final long Sliding
        The on/off sliding style switch — classic iOS appearance.
        See Also:
        Constant Field Values