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

        public void configureAccessoryWithConfigurationUIOnViewController​(EAWiFiUnconfiguredAccessory accessory,
                                                                          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.
      • initWithDelegateQueue

        public EAWiFiUnconfiguredAccessoryBrowser initWithDelegateQueue​(EAWiFiUnconfiguredAccessoryBrowserDelegate delegate,
                                                                        NSObject 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
      • startSearchingForUnconfiguredAccessoriesMatchingPredicate

        public void startSearchingForUnconfiguredAccessoriesMatchingPredicate​(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.
      • stopSearchingForUnconfiguredAccessories

        public void stopSearchingForUnconfiguredAccessories()
        Stop the search for unconfigured MFi Wireless Accessory Configuration accessories
      • unconfiguredAccessories

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