Package apple.networkextension
Class NEHotspotConfiguration
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.networkextension.NEHotspotConfiguration
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,NSObject
public class NEHotspotConfiguration extends NSObject implements NSCopying, NSSecureCoding
[@interface] NEHotspotConfiguration The NEHotspotConfiguration class represents set of properties that are required to configure a Wi-Fi Network.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNEHotspotConfiguration(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()static NEHotspotConfigurationalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()java.lang.ObjectcopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()voidencodeWithCoder(NSCoder coder)static longhash_static()booleanhidden()[@property] hidden if set to YES the system will perform active scan of the SSID.NEHotspotConfigurationinit()NEHotspotConfigurationinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERNEHotspotConfigurationinitWithHS20SettingsEapSettings(NEHotspotHS20Settings hs20Settings, NEHotspotEAPSettings eapSettings)initWithHS20Settings:eapSettings A designated initializer to instantiate a new NEHotspotConfiguration object.NEHotspotConfigurationinitWithSSID(java.lang.String SSID)initWithSSID: A designated initializer to instantiate a new NEHotspotConfiguration object.NEHotspotConfigurationinitWithSSIDEapSettings(java.lang.String SSID, NEHotspotEAPSettings eapSettings)initWithSSID:eapSettings A designated initializer to instantiate a new NEHotspotConfiguration object.NEHotspotConfigurationinitWithSSIDPassphraseIsWEP(java.lang.String SSID, java.lang.String passphrase, boolean isWEP)initWithSSID:passphrase:isWEP A designated initializer to instantiate a new NEHotspotConfiguration object.NEHotspotConfigurationinitWithSSIDPrefix(java.lang.String SSIDPrefix)initWithSSIDPrefix: A designated initializer to instantiate a new NEHotspotConfiguration object.NEHotspotConfigurationinitWithSSIDPrefixPassphraseIsWEP(java.lang.String SSIDPrefix, java.lang.String passphrase, boolean isWEP)initWithSSIDPrefix:passphrase:isWEP A designated initializer to instantiate a new NEHotspotConfiguration object.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)booleanjoinOnce()[@property] joinOnce if set to YES the configuration will not be persisted.static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)NSNumberlifeTimeInDays()[@property] lifeTimeInDays The lifetime of the configuration in days.static java.lang.Objectnew_objc()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetHidden(boolean value)[@property] hidden if set to YES the system will perform active scan of the SSID.voidsetJoinOnce(boolean value)[@property] joinOnce if set to YES the configuration will not be persisted.voidsetLifeTimeInDays(NSNumber value)[@property] lifeTimeInDays The lifetime of the configuration in days.static voidsetVersion_static(long aVersion)java.lang.StringSSID()[@property] SSID SSID of the Wi-Fi Network.java.lang.StringSSIDPrefix()[@property] SSIDPrefix Prefix string of SSID of the Wi-Fi Network.static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
SSID
public java.lang.String SSID()
[@property] SSID SSID of the Wi-Fi Network.
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static NEHotspotConfiguration alloc()
-
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()
-
copyWithZone
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
- Specified by:
copyWithZonein interfaceNSCopying
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
encodeWithCoder
public void encodeWithCoder(NSCoder coder)
- Specified by:
encodeWithCoderin interfaceNSCoding
-
hash_static
public static long hash_static()
-
init
public NEHotspotConfiguration init()
-
initWithCoder
public NEHotspotConfiguration initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
initWithHS20SettingsEapSettings
public NEHotspotConfiguration initWithHS20SettingsEapSettings(NEHotspotHS20Settings hs20Settings, NEHotspotEAPSettings eapSettings)
initWithHS20Settings:eapSettings A designated initializer to instantiate a new NEHotspotConfiguration object. This initializer is used configure HS2.0 Wi-Fi Networks.- Parameters:
hs20Settings- Hotspot 2.0 configurationeapSettings- EAP configuration
-
initWithSSID
public NEHotspotConfiguration initWithSSID(java.lang.String SSID)
initWithSSID: A designated initializer to instantiate a new NEHotspotConfiguration object. This initializer is used to configure open Wi-Fi Networks.- Parameters:
SSID- The SSID of the Open Wi-Fi Network. Length of SSID must be between 1 and 32 characters.
-
initWithSSIDEapSettings
public NEHotspotConfiguration initWithSSIDEapSettings(java.lang.String SSID, NEHotspotEAPSettings eapSettings)
initWithSSID:eapSettings A designated initializer to instantiate a new NEHotspotConfiguration object. This initializer is used configure WPA/WPA2 Enterprise Wi-Fi Networks.- Parameters:
SSID- The SSID of WPA/WPA2 Enterprise Wi-Fi NetworkeapSettings- EAP configuration
-
initWithSSIDPassphraseIsWEP
public NEHotspotConfiguration initWithSSIDPassphraseIsWEP(java.lang.String SSID, java.lang.String passphrase, boolean isWEP)
initWithSSID:passphrase:isWEP A designated initializer to instantiate a new NEHotspotConfiguration object. This initializer is used configure either WEP or WPA/WPA2 Personal Wi-Fi Networks.- Parameters:
SSID- The SSID of the WEP or WPA/WPA2 Personal Wi-Fi Networkpassphrase- The passphrase credential. For WPA/WPA2 Personal networks: between 8 and 63 characters. For Static WEP(64bit) : 10 Hex Digits For Static WEP(128bit) : 26 Hex DigitsisWEP- YES specifies WEP Wi-Fi Network else WPA/WPA2 Personal Wi-Fi Network
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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)
-
joinOnce
public boolean joinOnce()
[@property] joinOnce if set to YES the configuration will not be persisted. Default is NO.
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
lifeTimeInDays
public NSNumber lifeTimeInDays()
[@property] lifeTimeInDays The lifetime of the configuration in days. The configuration is stored for the number of days specified by this property. The minimum value is 1 day and maximum value is 365 days. A configuration does not get deleted automatically if this property is not set or set to an invalid value. This property does not apply to Enterprise and HS2.0 networks.
-
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)
-
setJoinOnce
public void setJoinOnce(boolean value)
[@property] joinOnce if set to YES the configuration will not be persisted. Default is NO.
-
setLifeTimeInDays
public void setLifeTimeInDays(NSNumber value)
[@property] lifeTimeInDays The lifetime of the configuration in days. The configuration is stored for the number of days specified by this property. The minimum value is 1 day and maximum value is 365 days. A configuration does not get deleted automatically if this property is not set or set to an invalid value. This property does not apply to Enterprise and HS2.0 networks.
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding
-
version_static
public static long version_static()
-
SSIDPrefix
public java.lang.String SSIDPrefix()
[@property] SSIDPrefix Prefix string of SSID of the Wi-Fi Network.
-
hidden
public boolean hidden()
[@property] hidden if set to YES the system will perform active scan of the SSID. Default is NO.
-
initWithSSIDPrefix
public NEHotspotConfiguration initWithSSIDPrefix(java.lang.String SSIDPrefix)
initWithSSIDPrefix: A designated initializer to instantiate a new NEHotspotConfiguration object. This initializer is used to configure open Wi-Fi Networks.- Parameters:
SSIDPrefix- The prefix string of SSID of the Open Wi-Fi Network. Length of SSIDPrefix must be between 3 and 32 characters.
-
initWithSSIDPrefixPassphraseIsWEP
public NEHotspotConfiguration initWithSSIDPrefixPassphraseIsWEP(java.lang.String SSIDPrefix, java.lang.String passphrase, boolean isWEP)
initWithSSIDPrefix:passphrase:isWEP A designated initializer to instantiate a new NEHotspotConfiguration object. This initializer is used configure either WEP or WPA/WPA2 Personal Wi-Fi Networks.- Parameters:
SSIDPrefix- The prefix string of SSID of the WEP or WPA/WPA2 Personal Wi-Fi Network. Length of SSIDPrefix must be between 3 and 32 characters.passphrase- The passphrase credential. For WPA/WPA2 Personal networks: between 8 and 63 characters. For Static WEP(64bit) : 10 Hex Digits For Static WEP(128bit) : 26 Hex DigitsisWEP- YES specifies WEP Wi-Fi Network else WPA/WPA2 Personal Wi-Fi Network
-
setHidden
public void setHidden(boolean value)
[@property] hidden if set to YES the system will perform active scan of the SSID. Default is NO.
-
-