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.
    • Constructor Detail

      • HMCharacteristicMetadata

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

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

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

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

        public static 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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

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

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

        public 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

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

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

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

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

        public NSArray<? extends NSNumber> validValues()
        The subset of valid values supported by the characteristic when the format is unsigned integral type.