public class PhoneStateListener extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
LISTEN_CALL_FORWARDING_INDICATOR |
static int |
LISTEN_CALL_STATE |
static int |
LISTEN_CELL_LOCATION |
static int |
LISTEN_DATA_ACTIVITY |
static int |
LISTEN_DATA_CONNECTION_STATE |
static int |
LISTEN_MESSAGE_WAITING_INDICATOR |
static int |
LISTEN_NONE |
static int |
LISTEN_SERVICE_STATE |
static int |
LISTEN_SIGNAL_STRENGTH
Deprecated.
|
static int |
LISTEN_SIGNAL_STRENGTHS |
| Constructor and Description |
|---|
PhoneStateListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCallForwardingIndicatorChanged(boolean cfi) |
void |
onCallStateChanged(int state,
String incomingNumber) |
void |
onCellLocationChanged(CellLocation location) |
void |
onDataActivity(int direction) |
void |
onDataConnectionStateChanged(int state) |
void |
onDataConnectionStateChanged(int state,
int networkType) |
void |
onMessageWaitingIndicatorChanged(boolean mwi) |
void |
onServiceStateChanged(ServiceState serviceState) |
void |
onSignalStrengthChanged(int asu)
Deprecated.
|
void |
onSignalStrengthsChanged(SignalStrength signalStrength) |
public static final int LISTEN_NONE
public static final int LISTEN_SERVICE_STATE
@Deprecated public static final int LISTEN_SIGNAL_STRENGTH
public static final int LISTEN_MESSAGE_WAITING_INDICATOR
public static final int LISTEN_CALL_FORWARDING_INDICATOR
public static final int LISTEN_CELL_LOCATION
public static final int LISTEN_CALL_STATE
public static final int LISTEN_DATA_CONNECTION_STATE
public static final int LISTEN_DATA_ACTIVITY
public static final int LISTEN_SIGNAL_STRENGTHS
public void onServiceStateChanged(ServiceState serviceState)
@Deprecated public void onSignalStrengthChanged(int asu)
public void onMessageWaitingIndicatorChanged(boolean mwi)
public void onCallForwardingIndicatorChanged(boolean cfi)
public void onCellLocationChanged(CellLocation location)
public void onCallStateChanged(int state,
String incomingNumber)
public void onDataConnectionStateChanged(int state)
public void onDataConnectionStateChanged(int state,
int networkType)
public void onDataActivity(int direction)
public void onSignalStrengthsChanged(SignalStrength signalStrength)
Copyright © 2008-2013. All Rights Reserved.