Package apple.homekit

Class HMAccessorySetupRequest

    • Constructor Detail

      • HMAccessorySetupRequest

        protected HMAccessorySetupRequest​(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()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • 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()
      • homeUniqueIdentifier

        @Nullable
        public @Nullable NSUUID homeUniqueIdentifier()
        The -[HMHome uniqueIdentifier] that corresponds to the HMHome that the accessory should be added to when being set up. If nil, then the user will be prompted to choose a home
      • 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)
      • payload

        @Nullable
        public @Nullable HMAccessorySetupPayload payload()
        The payload to use for accessory setup [@note] When this is non-nil, the following entitlement is required: com.apple.developer.homekit.allow-setup-payload
      • resolveClassMethod

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

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

        public void setHomeUniqueIdentifier​(@Nullable
                                            @Nullable NSUUID value)
        The -[HMHome uniqueIdentifier] that corresponds to the HMHome that the accessory should be added to when being set up. If nil, then the user will be prompted to choose a home
      • setPayload

        public void setPayload​(@Nullable
                               @Nullable HMAccessorySetupPayload value)
        The payload to use for accessory setup [@note] When this is non-nil, the following entitlement is required: com.apple.developer.homekit.allow-setup-payload
      • setSuggestedAccessoryName

        public void setSuggestedAccessoryName​(@Nullable
                                              @Nullable java.lang.String value)
        The name that will be suggested when the user is prompted to name the accessory being set up. If nil, then the suggested name will be taken from the accessory itself [@note] If an accessory bridge is being set up, then this value only applies to the accessory bridge and not any accessories behind the bridge
      • setSuggestedRoomUniqueIdentifier

        public void setSuggestedRoomUniqueIdentifier​(@Nullable
                                                     @Nullable NSUUID value)
        The -[HMRoom uniqueIdentifier] that corresponds to the existing HMRoom that should be suggested when the user is prompted to choose a room to add the accessory to. If nil, then any room may be suggested [@note] This value will be ignored if homeUniqueIdentifier is nil
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • suggestedAccessoryName

        @Nullable
        public @Nullable java.lang.String suggestedAccessoryName()
        The name that will be suggested when the user is prompted to name the accessory being set up. If nil, then the suggested name will be taken from the accessory itself [@note] If an accessory bridge is being set up, then this value only applies to the accessory bridge and not any accessories behind the bridge
      • suggestedRoomUniqueIdentifier

        @Nullable
        public @Nullable NSUUID suggestedRoomUniqueIdentifier()
        The -[HMRoom uniqueIdentifier] that corresponds to the existing HMRoom that should be suggested when the user is prompted to choose a room to add the accessory to. If nil, then any room may be suggested [@note] This value will be ignored if homeUniqueIdentifier is nil
      • superclass_static

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

        public static long version_static()
      • matterPayload

        @Nullable
        public @Nullable MTRSetupPayload matterPayload()
        The payload to use for Matter accessory setup [@note] When this is non-nil, the following entitlement is required: com.apple.developer.matter.allow-setup-payload
      • setMatterPayload

        public void setMatterPayload​(@Nullable
                                     @Nullable MTRSetupPayload value)
        The payload to use for Matter accessory setup [@note] When this is non-nil, the following entitlement is required: com.apple.developer.matter.allow-setup-payload
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.