getConnection(String profileName)
2 min
Obtains the JSON profile for a VPN profile created with the function createConnection(String jsonProfile).
Syntax:
String getConnection(String profileName)
Parameters:
The profileName is the name of the VPN profile.
Returns:
This method returns the VPN profile for the name specified. This profile must be added by the same caller. This method could return null.