Class NEHotspotHelper

  • All Implemented Interfaces:
    NSObject

    public class NEHotspotHelper
    extends NSObject
    [@interface] NEHotspotHelper The NEHotspotHelper class allows an application to register itself as a HotspotHelper.
    • Constructor Detail

      • NEHotspotHelper

        protected NEHotspotHelper​(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)
      • logoff

        public static boolean logoff​(NEHotspotNetwork network)
        logoff: Terminate the authentication session. The application invokes this method when it wants to logoff from the current network. Invoking this method causes an NEHotspotHelperCommand of type kNEHotspotHelperCommandTypeLogoff to be issued to the application's 'handler' block (see +[NEHotspotHelper registerWithOptions:queue:handler]). 'network' must correspond to the currently associated Wi-Fi network i.e. it must have come from the NEHotspotHelperCommand's 'network' property or from the +[NEHotspotHelper supportedInterfaces] method. [@note] Notes [@note] 1 The application MUST NOT actually logoff from the network until it receives the command to logoff. [@note] 2 After the application invokes -[NEHotspotHelperResponse deliver] indicating kNEHotspotHelperResultSuccess, the Wi-Fi network is disassociated.
        Returns:
        YES if the logoff command was successfully queued, NO otherwise.
      • new_objc

        public static java.lang.Object new_objc()
      • registerWithOptionsQueueHandler

        public static boolean registerWithOptionsQueueHandler​(NSDictionary<java.lang.String,​? extends NSObject> options,
                                                              NSObject queue,
                                                              NEHotspotHelper.Block_registerWithOptionsQueueHandler handler)
        registerWithOptions:queue:handler Register the application as a HotspotHelper. Once this API is invoked successfully, the application becomes eligible to be launched in the background and participate in various hotspot related functions. This function should be called once when the application starts up. Invoking it again will have no effect and result in FALSE being returned. The 'options' dictionary may be nil, or contain the single property kNEHotspotHelperOptionDisplayName. [@note] Notes [@note] 1 The application's Info.plist MUST include a UIBackgroundModes array containing 'network-authentication'. [@note] 2 The application MUST set 'com.apple.developer.networking.HotspotHelper' as one of its entitlements. The value of the entitlement is a boolean value true.
        Parameters:
        options - If not nil, 'options' is an NSDictionary containing kNEHotspotHelperOption* keys (currently just kNEHotspotHelperOptionDisplayName).
        queue - The dispatch_queue_t to invoke the handle block on.
        handler - The NEHotspotHelperHandler block to execute to process helper commands.
        Returns:
        YES if the registration was successful, NO otherwise.
      • 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()
      • supportedNetworkInterfaces

        public static NSArray<?> supportedNetworkInterfaces()
        of NEHotspotNetwork
      • version_static

        public static long version_static()