Package: com.keepsolid.androidkeepsolidcommon.vpnunlimitesdk.vpn.openvpn
setup
void setup(com.keepsolid.androidkeepsolidcommon.vpnunlimitesdk.vpn.openvpn.OpenVpnConfiguration configuration) throws KSException
clearConfiguration
void clearConfiguration() throws KSException
isConfigurationSetupCompleted
boolean isConfigurationSetupCompleted()
boolean value which indicates whether OpenVpnConfiguration setup is completed or not
enableVPN
void enableVPN() throws KSException
disableVPN
void disableVPN()
isVpnEnabled
boolean isVpnEnabled()
boolean value which indicates whether VPN is enabled at the moment
setReconnectMode
void setReconnectMode(int reconnectMode)
getStatus
com.keepsolid.androidkeepsolidcommon.vpnunlimitesdk.vpn.openvpn.OpenVpnStatus getStatus()
OpenVpnStatus
getVpnBuilder
VpnService.Builder getVpnBuilder()
android.net.VpnService.Builder
protect
boolean protect(int socket)
true on success.
static final java.lang.String OPEN_VPN_STATE_BROADCAST_ACTION
static final java.lang.String OPEN_VPN_STATE_BROADCAST_STATUS_KEY
static final java.lang.String ENABLE_VPN_CONNECTION_BROADCAST_ACTION
static final java.lang.String DISABLE_VPN_CONNECTION_BROADCAST_ACTION
static final java.lang.String CHECK_SERVICE_CONNECTION_BROADCAST_ACTION