public interface IControlsTethering
Modifier and Type | Field and Description |
---|---|
static int |
STATE_AVAILABLE |
static int |
STATE_TETHERED |
static int |
STATE_UNAVAILABLE |
Modifier and Type | Method and Description |
---|---|
void |
notifyInterfaceStateChange(String iface,
TetherInterfaceStateMachine who,
int state,
int lastError)
Notify that |who| has changed its tethering state.
|
static final int STATE_UNAVAILABLE
static final int STATE_AVAILABLE
static final int STATE_TETHERED
void notifyInterfaceStateChange(String iface, TetherInterfaceStateMachine who, int state, int lastError)
iface
- a network interface (e.g. "wlan0")who
- corresponding instance of a TetherInterfaceStateMachinestate
- one of IControlsTethering.STATE_*lastError
- one of ConnectivityManager.TETHER_ERROR_*