summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-12-01 14:14:24 +0100
committerArne Schwabe <arne@rfc2549.org>2013-12-01 14:14:24 +0100
commite827c55cdd14588585b1d12e4f8cba0ffb69381d (patch)
tree96d044d71ac7fd12a1167314d9385316ea8f3a2f /src/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl
parentd5e947f2dd9ba93a4bb6a801d0ef8ad21d43d8d2 (diff)
Implementing user pause/resume from the external API
Diffstat (limited to 'src/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl')
-rw-r--r--src/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl b/src/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl
index 6c1624fa..794e3aad 100644
--- a/src/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl
+++ b/src/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl
@@ -30,6 +30,12 @@ interface IOpenVPNAPIService {
/* Disconnect the VPN */
void disconnect();
+
+ /* Pause the VPN (same as using the pause feature in the notifcation bar) */
+ void pause();
+
+ /* Resume the VPN (same as using the pause feature in the notifcation bar) */
+ void resume();
/**
* Registers to receive OpenVPN Status Updates