blob: 5a5cbdb5f7f27c9e1c5dfd1737631496ba44ef62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// StatusIPC.aidl
package de.blinkt.openvpn.core;
// Declare any non-default types here with import statements
import de.blinkt.openvpn.core.IStatusCallbacks;
import android.os.ParcelFileDescriptor;
import de.blinkt.openvpn.core.TrafficHistory;
interface IServiceStatus {
/**
* Registers to receive OpenVPN Status Updates and gets a
* ParcelFileDescript back that contains the log up to that point
*/
ParcelFileDescriptor registerStatusCallback(in IStatusCallbacks cb);
/**
* Remove a previously registered callback interface.
*/
void unregisterStatusCallback(in IStatusCallbacks cb);
/**
* Returns the last connedcted VPN
*/
String getLastConnectedVPN();
/**
* Sets a cached password
*/
void setCachedPassword(in String uuid, int type, String password);
/**
* Gets the traffic history
*/
TrafficHistory getTrafficHistory();
}
|