public interface ProxyHelper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_START
A request to Orbot to transparently start Tor services
|
static java.lang.String |
ACTION_STATUS
Intent send by Orbot with ON/OFF/STARTING/STOPPING status |
static java.lang.String |
EXTRA_PACKAGE_NAME
A
String packageName for Orbot to direct its status reply
to, used in ACTION_START Intent s sent to Orbot |
static java.lang.String |
EXTRA_PROXY_PORT_HTTP |
static java.lang.String |
EXTRA_PROXY_PORT_SOCKS |
static java.lang.String |
EXTRA_STATUS
|
static java.lang.String |
FDROID_PACKAGE_NAME |
static java.lang.String |
PLAY_PACKAGE_NAME |
static java.lang.String |
STATUS_OFF
All tor-related services and daemons are stopped
|
static java.lang.String |
STATUS_ON
All tor-related services and daemons have completed starting
|
static java.lang.String |
STATUS_STARTING |
static java.lang.String |
STATUS_STARTS_DISABLED
The user has disabled the ability for background starts triggered by
apps.
|
static java.lang.String |
STATUS_STOPPING |
Modifier and Type | Method and Description |
---|---|
android.content.Intent |
getInstallIntent(android.content.Context context) |
java.lang.String |
getName() |
android.content.Intent |
getStartIntent(android.content.Context context) |
boolean |
isInstalled(android.content.Context context) |
boolean |
requestStart(android.content.Context context) |
void |
requestStatus(android.content.Context context) |
static final java.lang.String FDROID_PACKAGE_NAME
static final java.lang.String PLAY_PACKAGE_NAME
static final java.lang.String ACTION_START
static final java.lang.String ACTION_STATUS
Intent
send by Orbot with ON/OFF/STARTING/STOPPING
statusstatic final java.lang.String EXTRA_STATUS
static final java.lang.String EXTRA_PROXY_PORT_HTTP
static final java.lang.String EXTRA_PROXY_PORT_SOCKS
static final java.lang.String EXTRA_PACKAGE_NAME
String
packageName
for Orbot to direct its status reply
to, used in ACTION_START
Intent
s sent to Orbotstatic final java.lang.String STATUS_OFF
static final java.lang.String STATUS_ON
static final java.lang.String STATUS_STARTING
static final java.lang.String STATUS_STOPPING
static final java.lang.String STATUS_STARTS_DISABLED
boolean isInstalled(android.content.Context context)
void requestStatus(android.content.Context context)
boolean requestStart(android.content.Context context)
android.content.Intent getInstallIntent(android.content.Context context)
android.content.Intent getStartIntent(android.content.Context context)
java.lang.String getName()