Package apple.homekit

Class HMAccessorySetupManager

  • All Implemented Interfaces:
    NSObject

    public class HMAccessorySetupManager
    extends NSObject
    This class can be used to launch system UI that will allow the user to go through the process of adding one or more accessories to a particular home and follow up with additional setup. These APIs do not require that the current app has home data authorization API-Since: 15.0
    • Constructor Detail

      • HMAccessorySetupManager

        protected HMAccessorySetupManager​(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()
      • performAccessorySetupUsingRequestCompletionHandler

        public void performAccessorySetupUsingRequestCompletionHandler​(@NotNull
                                                                       @NotNull HMAccessorySetupRequest request,
                                                                       @NotNull
                                                                       @NotNull HMAccessorySetupManager.Block_performAccessorySetupUsingRequestCompletionHandler completion)
        Launch system UI to perform the process of setting up accessories with the given request. During this process, each of the accessories is added to a home, assigned to a room and further configured based on its services
        Parameters:
        request - A request object describing information about how to set up the accessory
        completion - A block that is invoked once the setup process finishes. On failure, the result will be nil and the error will provide additional information API-Since: 15.4
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.