Class NEVPNManager
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.networkextension.NEVPNManager
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
NETunnelProviderManager
public class NEVPNManager extends NSObject
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NEVPNManager.NEVPNManagerPtr
static class
NEVPNManager.Notifications
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NEVPNManager()
protected
NEVPNManager(NSObject.Handle h, long handle)
protected
NEVPNManager(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NEVPNManager
public NEVPNManager()
-
NEVPNManager
protected NEVPNManager(NSObject.Handle h, long handle)
-
NEVPNManager
protected NEVPNManager(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getOnDemandRules
public NSArray<NEOnDemandRule> getOnDemandRules()
- Since:
- Available in iOS 8.0 and later.
-
setOnDemandRules
public void setOnDemandRules(NSArray<NEOnDemandRule> v)
- Since:
- Available in iOS 8.0 and later.
-
isOnDemandEnabled
public boolean isOnDemandEnabled()
- Since:
- Available in iOS 8.0 and later.
-
setOnDemandEnabled
public void setOnDemandEnabled(boolean v)
- Since:
- Available in iOS 8.0 and later.
-
getLocalizedDescription
public java.lang.String getLocalizedDescription()
- Since:
- Available in iOS 8.0 and later.
-
setLocalizedDescription
public void setLocalizedDescription(java.lang.String v)
- Since:
- Available in iOS 8.0 and later.
-
getProtocol
@Deprecated public NEVPNProtocol getProtocol()
Deprecated.Deprecated in iOS 9.0.- Since:
- Available in iOS 8.0 and later.
-
setProtocol
@Deprecated public void setProtocol(NEVPNProtocol v)
Deprecated.Deprecated in iOS 9.0.- Since:
- Available in iOS 8.0 and later.
-
getProtocolConfiguration
public NEVPNProtocol getProtocolConfiguration()
- Since:
- Available in iOS 9.0 and later.
-
setProtocolConfiguration
public void setProtocolConfiguration(NEVPNProtocol v)
- Since:
- Available in iOS 9.0 and later.
-
getConnection
public NEVPNConnection getConnection()
- Since:
- Available in iOS 8.0 and later.
-
isEnabled
public boolean isEnabled()
- Since:
- Available in iOS 8.0 and later.
-
setEnabled
public void setEnabled(boolean v)
- Since:
- Available in iOS 8.0 and later.
-
ConfigurationChangeNotification
public static NSString ConfigurationChangeNotification()
- Since:
- Available in iOS 8.0 and later.
-
loadFromPreferences
public void loadFromPreferences(org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
- Since:
- Available in iOS 8.0 and later.
-
removeFromPreferences
public void removeFromPreferences(org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
- Since:
- Available in iOS 8.0 and later.
-
saveToPreferences
public void saveToPreferences(org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
- Since:
- Available in iOS 8.0 and later.
-
getSharedManager
public static NEVPNManager getSharedManager()
- Since:
- Available in iOS 8.0 and later.
-
-