Class UISwitchStyle


  • public final class UISwitchStyle
    extends java.lang.Object
    API-Since: 14.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Automatic
      The style most appropriate to the current UIUserInterfaceIdiom API-Since: 14.0
      static long Checkbox
      The AppKit-style checkbox — only supported for Catalyst in the Mac idiom API-Since: 14.0
      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 API-Since: 14.0
        See Also:
        Constant Field Values
      • Checkbox

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

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