0
0
mirror of https://github.com/schwabe/ics-openvpn.git synced 2024-09-20 12:02:28 +02:00

Doc update

This commit is contained in:
Arne Schwabe 2013-05-25 19:17:05 +02:00
parent a5023ab2a6
commit 5895203271

View File

@ -12,19 +12,20 @@ interface IOpenVPNAPIService {
void startProfile (String profileUUID);
/* Use a profile with all certificates etc. embedded */
/** Use a profile with all certificates etc. embedded */
boolean addVPNProfile (String name, String config);
/* start a profile using an config */
/** start a profile using an config */
void startVPN (String inlineconfig);
/* This permission framework is used to avoid confused deputy style attack to the VPN
/** This permission framework is used to avoid confused deputy style attack to the VPN
* calling this will give null if the app is allowed to use the external API and an Intent
* that can be launched to request permissions otherwise */
Intent prepare (String packagename);
/* Used to trigger to the Android VPN permission dialog (VPNService.prepare()) in advance,
* if this return null OpenVPN for ANdroid already has the permissions */
/** Used to trigger to the Android VPN permission dialog (VPNService.prepare()) in advance,
* if this return null OpenVPN for ANdroid already has the permissions otherwise you can start the returned Intent
* to let OpenVPN for Android request the permission */
Intent prepareVPNService ();
/* Disconnect the VPN */