Type Method

shared()

Access the single instance of NEVPNManager.

Declaration

class func shared() -> NEVPNManager

Return Value

The NEVPNManager instance for the calling application.

See Also

Managing VPN Configurations

func loadFromPreferences(completionHandler: (Error?) -> Void)

Load the VPN configuration from the Network Extension preferences.

func saveToPreferences(completionHandler: ((Error?) -> Void)?)

Save the VPN configuration in the Network Extension preferences.

func removeFromPreferences(completionHandler: ((Error?) -> Void)?)

Remove the VPN configuration from the Network Extension preferences.