Class NEHotspotConfigurationManager

  • All Implemented Interfaces:
    NSObject

    public class NEHotspotConfigurationManager
    extends NSObject
    [@interface] NEHotspotConfigurationManager The NEHotspotConfigurationManager class allows an application to Add/Update/Remove Wi-Fi Network Configuraton.
    • Constructor Detail

      • NEHotspotConfigurationManager

        protected NEHotspotConfigurationManager​(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)
      • applyConfigurationCompletionHandler

        public void applyConfigurationCompletionHandler​(NEHotspotConfiguration configuration,
                                                        NEHotspotConfigurationManager.Block_applyConfigurationCompletionHandler completionHandler)
        applyConfiguration: This function adds or updates a Wi-Fi network configuration.
        Parameters:
        configuration - NEHotspotConfiguration object containing the Wi-Fi network configuration.
        completionHandler - A block that will be called when add/update operation is completed. This could be nil if application does not intend to receive the result. The NSError passed to this block will be nil if the configuration is successfully stored, non-nil otherwise. If the configuration is found invalid or API encounters some other error then completionHandler is called with instance of NSError containing appropriate error code. This API attempts to join the Wi-Fi network if the configuration is successfully added or updated and the network is found nearby.
      • 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()
      • getConfiguredSSIDsWithCompletionHandler

        public void getConfiguredSSIDsWithCompletionHandler​(NEHotspotConfigurationManager.Block_getConfiguredSSIDsWithCompletionHandler completionHandler)
        getConfiguredSSIDsWithCompletionHandler: This function returns array of SSIDs and HS2.0 Domain Names that the calling application has configured. It returns nil if there are no networks configurred by the calling application.
      • 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()
      • removeConfigurationForHS20DomainName

        public void removeConfigurationForHS20DomainName​(java.lang.String domainName)
        removeConfigurationForNetworkName: This function removes Wi-Fi configuration.
        Parameters:
        domainName - HS2.0 domainName for which the configuration is to be deleted.
      • removeConfigurationForSSID

        public void removeConfigurationForSSID​(java.lang.String SSID)
        removeConfigurationForSSID: This function removes Wi-Fi configuration. If the joinOnce property was set to YES, invoking this method will disassociate from the Wi-Fi network after the configuration is removed.
        Parameters:
        SSID - Wi-Fi SSID for which the configuration is to be deleted.
      • 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()