Interface UITraitDefinition

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default boolean _affectsColorAppearance()
      Whether the trait is used to resolve dynamic colors (or images), and changes to the trait should automatically trigger views using dynamic colors/images to update their appearance.
      default @NotNull java.lang.String _identifier()
      A unique identifier string for the trait (reverse-DNS format recommended).
      default @NotNull java.lang.String _name()
      A short human-readable name for the trait, e.g.
    • Method Detail

      • _affectsColorAppearance

        default boolean _affectsColorAppearance()
        Whether the trait is used to resolve dynamic colors (or images), and changes to the trait should automatically trigger views using dynamic colors/images to update their appearance. Default is NO.
      • _identifier

        @NotNull
        default @NotNull java.lang.String _identifier()
        A unique identifier string for the trait (reverse-DNS format recommended). Allows the trait to be encoded/decoded, and to map both a Swift and Objective-C trait to the same data.
      • _name

        @NotNull
        default @NotNull java.lang.String _name()
        A short human-readable name for the trait, e.g. for printing and debugging output. By default, the trait's class name is used when not implemented.