Class UILabelVibrancy


  • public final class UILabelVibrancy
    extends java.lang.Object
    API-Since: 17.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Automatic
      Vibrancy gets applied automatically to labels if the context allows it.
      static long None
      No vibrancy will be applied automatically in this mode.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • None

        public static final long None
        No vibrancy will be applied automatically in this mode. API-Since: 17.0
        See Also:
        Constant Field Values
      • Automatic

        public static final long Automatic
        Vibrancy gets applied automatically to labels if the context allows it. The kind of vibrancy effects depends on the labels text color. labelColor becomes UIVibrancyEffectStyleLabel, secondaryLabelColor becomes UIVibrancyEffectStyleSecondaryLabel etc. API-Since: 17.0
        See Also:
        Constant Field Values