shared
TypeScriptstatic shared(): NEVPNManagerSwift declarationclass func shared() -> NEVPNManagerclass · iOS 8.0+ · SDK 27.1
class NEVPNManagerstatic shared(): NEVPNManagerSwift declarationclass func shared() -> NEVPNManagerstatic init(): NEVPNManagerSwift declarationinit()loadFromPreferences(completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc loadFromPreferences() async throwsremoveFromPreferences(completionHandler?: (((arg0: (NativeError) | null) => void)) | null): voidSwift declarationfunc removeFromPreferences() async throwssaveToPreferences(completionHandler?: (((arg0: (NativeError) | null) => void)) | null): voidSwift declarationfunc saveToPreferences() async throwsget connection(): NEVPNConnectionSwift declarationvar connection: NEVPNConnection { get }get isEnabled(): booleanSwift declarationvar isEnabled: Bool { get set }set isEnabled(value: boolean)Swift declarationvar isEnabled: Bool { get set }get localizedDescription(): (string) | nullSwift declarationvar localizedDescription: String? { get set }set localizedDescription(value: (string) | null)Swift declarationvar localizedDescription: String? { get set }get isOnDemandEnabled(): booleanSwift declarationvar isOnDemandEnabled: Bool { get set }set isOnDemandEnabled(value: boolean)Swift declarationvar isOnDemandEnabled: Bool { get set }get onDemandRules(): (Array<NEOnDemandRule>) | nullSwift declarationvar onDemandRules: [NEOnDemandRule]? { get set }set onDemandRules(value: (Array<NEOnDemandRule>) | null)Swift declarationvar onDemandRules: [NEOnDemandRule]? { get set }get protocol(): (NEVPNProtocol) | nullSwift declarationvar `protocol`: NEVPNProtocol? { get set }set protocol(value: (NEVPNProtocol) | null)Swift declarationvar `protocol`: NEVPNProtocol? { get set }get protocolConfiguration(): (NEVPNProtocol) | nullSwift declarationvar protocolConfiguration: NEVPNProtocol? { get set }set protocolConfiguration(value: (NEVPNProtocol) | null)Swift declarationvar protocolConfiguration: NEVPNProtocol? { get set }No declarations were skipped in this snapshot.