Class EAWiFiUnconfiguredAccessoryBrowser

  • All Implemented Interfaces:
    NSObject

    public class EAWiFiUnconfiguredAccessoryBrowser
    extends NSObject
    Interface for browsing unconfigured accessories This class brokers access to the MFi Wireless Accessory Configuration (WAC) process. This browser enables the application to scan for unconfigured accessories, connect them to the user's Wi-Fi infrastructure and configure attributes of the accessory.
    • Constructor Detail

      • EAWiFiUnconfiguredAccessoryBrowser

        protected EAWiFiUnconfiguredAccessoryBrowser​(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()
      • configureAccessoryWithConfigurationUIOnViewController

        public void configureAccessoryWithConfigurationUIOnViewController​(@NotNull
                                                                          @NotNull EAWiFiUnconfiguredAccessory accessory,
                                                                          @NotNull
                                                                          @NotNull UIViewController viewController)
        Begin the configuration process for the chosen accessory Stop the search for unconfigured accessories and begins the configuration process of the specified EAWiFiUnconfiguredAccessory. The user is guided through the configuration process via Apple UI. This process can take up to a few minutes to complete. The host application delegate will receive the didFinishConfiguringAccessory callback with an error that should be checked upon completion.
        Parameters:
        accessory - The accessory the application wishes to configure
        viewController - The UIViewController that will host the Apple guided setup UI in the host application. API-Since: 8.0
      • initWithDelegateQueue

        public EAWiFiUnconfiguredAccessoryBrowser initWithDelegateQueue​(@Nullable
                                                                        @Nullable EAWiFiUnconfiguredAccessoryBrowserDelegate delegate,
                                                                        @Nullable
                                                                        @Nullable dispatch_queue_t queue)
        Designated initializer. Initializes an instance of the EAWiFiUnconfiguredAccessoryBrowser class which can be further configured based on the application's interests.
        Parameters:
        delegate - The delegate that will receive the EAWiFiUnconfiguredAccessoryBrowserDelegate events.
        queue - The dispatch queue the delegate would like to receive events on. If nil the events will be on the main queue.
        Returns:
        Instance object API-Since: 8.0
      • startSearchingForUnconfiguredAccessoriesMatchingPredicate

        public void startSearchingForUnconfiguredAccessoriesMatchingPredicate​(@Nullable
                                                                              @Nullable NSPredicate predicate)
        Start the search for unconfigured accessories Starts a Wi-Fi scan for unconfigured accessories. This power and resource intensive process and must only be used when actively searching for accessories. Scans should be stopped immediately when the desired accessories have been located.
        Parameters:
        predicate - The desired filter for unconfigured accessory results conforming to the EAWiFiUnconfiguredAccessory protocol. API-Since: 8.0
      • stopSearchingForUnconfiguredAccessories

        public void stopSearchingForUnconfiguredAccessories()
        Stop the search for unconfigured MFi Wireless Accessory Configuration accessories API-Since: 8.0
      • unconfiguredAccessories

        @NotNull
        public @NotNull NSSet<? extends EAWiFiUnconfiguredAccessory> unconfiguredAccessories()
        [@property] unconfiguredAccessories The set of discovered unconfigured accessories described by EAWiFiUnconfiguredAccessory objects. This snapshot will only include objects matching the filter predicate defined when starting the search.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.