One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEVPNManager

class · iOS 8.0+ · SDK 27.1

class NEVPNManager

Members (18)

static · iOS 8.0+

shared

TypeScript
static shared(): NEVPNManager
Swift declaration
class func shared() -> NEVPNManager
init

init

TypeScript
static init(): NEVPNManager
Swift declaration
init()
method · iOS 8.0+

loadFromPreferences

TypeScript
loadFromPreferences(completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func loadFromPreferences() async throws
method · iOS 8.0+

removeFromPreferences

TypeScript
removeFromPreferences(completionHandler?: (((arg0: (NativeError) | null) => void)) | null): void
Swift declaration
func removeFromPreferences() async throws
method · iOS 8.0+

saveToPreferences

TypeScript
saveToPreferences(completionHandler?: (((arg0: (NativeError) | null) => void)) | null): void
Swift declaration
func saveToPreferences() async throws
get · iOS 8.0+

connection

TypeScript
get connection(): NEVPNConnection
Swift declaration
var connection: NEVPNConnection { get }
get · iOS 8.0+

isEnabled

TypeScript
get isEnabled(): boolean
Swift declaration
var isEnabled: Bool { get set }
set · iOS 8.0+

isEnabled

TypeScript
set isEnabled(value: boolean)
Swift declaration
var isEnabled: Bool { get set }
get · iOS 8.0+

localizedDescription

TypeScript
get localizedDescription(): (string) | null
Swift declaration
var localizedDescription: String? { get set }
set · iOS 8.0+

localizedDescription

TypeScript
set localizedDescription(value: (string) | null)
Swift declaration
var localizedDescription: String? { get set }
get · iOS 8.0+

isOnDemandEnabled

TypeScript
get isOnDemandEnabled(): boolean
Swift declaration
var isOnDemandEnabled: Bool { get set }
set · iOS 8.0+

isOnDemandEnabled

TypeScript
set isOnDemandEnabled(value: boolean)
Swift declaration
var isOnDemandEnabled: Bool { get set }
get · iOS 8.0+

onDemandRules

TypeScript
get onDemandRules(): (Array<NEOnDemandRule>) | null
Swift declaration
var onDemandRules: [NEOnDemandRule]? { get set }
set · iOS 8.0+

onDemandRules

TypeScript
set onDemandRules(value: (Array<NEOnDemandRule>) | null)
Swift declaration
var onDemandRules: [NEOnDemandRule]? { get set }
get · iOS 8.0+ · Deprecated in iOS 9.0

protocol

TypeScript
get protocol(): (NEVPNProtocol) | null
Swift declaration
var `protocol`: NEVPNProtocol? { get set }
set · iOS 8.0+ · Deprecated in iOS 9.0

protocol

TypeScript
set protocol(value: (NEVPNProtocol) | null)
Swift declaration
var `protocol`: NEVPNProtocol? { get set }
get · iOS 9.0+

protocolConfiguration

TypeScript
get protocolConfiguration(): (NEVPNProtocol) | null
Swift declaration
var protocolConfiguration: NEVPNProtocol? { get set }
set · iOS 9.0+

protocolConfiguration

TypeScript
set protocolConfiguration(value: (NEVPNProtocol) | null)
Swift declaration
var protocolConfiguration: NEVPNProtocol? { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All NetworkExtension types →