Package apple.homekit

Class HMCharacteristicMetadata

  • All Implemented Interfaces:
    NSObject

    public class HMCharacteristicMetadata
    extends NSObject
    This class defines the metadata for a characteristic. Metadata provides further information about a characteristic’s value, which can be used for presentation purposes. API-Since: 8.0
    • Constructor Detail

      • HMCharacteristicMetadata

        protected HMCharacteristicMetadata​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • format

        @Nullable
        public @Nullable java.lang.String format()
        The format of the value. Refer to HMCharacteristicMetadataFormat constants for supported units.
      • manufacturerDescription

        @Nullable
        public @Nullable java.lang.String manufacturerDescription()
        Manufacturer provided description for the characteristic to present to the user.
      • maxLength

        @Nullable
        public @Nullable NSNumber maxLength()
        Max length value for the characteristic that indicates the maximum number of UTF-8 characters allowed if it has a format of "string".
      • maximumValue

        @Nullable
        public @Nullable NSNumber maximumValue()
        The maximum value for the characteristic if it has a format of "int" or "float".
      • minimumValue

        @Nullable
        public @Nullable NSNumber minimumValue()
        The minimum value for the characteristic if it has a format of "int" or "float".
      • stepValue

        @Nullable
        public @Nullable NSNumber stepValue()
        Step value for the characteristic that indicates the minimum step value allowed if it has a format of "int" or "float".
      • units

        @Nullable
        public @Nullable java.lang.String units()
        The units of the value. Refer to HMCharacteristicMetadataUnits constants for supported units.
      • validValues

        @Nullable
        public @Nullable NSArray<? extends NSNumber> validValues()
        The subset of valid values supported by the characteristic when the format is unsigned integral type. API-Since: 10.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.