android.telephony
Class PhoneStateListener
java.lang.Object
android.telephony.PhoneStateListener
public class PhoneStateListener
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LISTEN_NONE
public static final int LISTEN_NONE
- See Also:
- Constant Field Values
LISTEN_SERVICE_STATE
public static final int LISTEN_SERVICE_STATE
- See Also:
- Constant Field Values
LISTEN_SIGNAL_STRENGTH
public static final int LISTEN_SIGNAL_STRENGTH
- See Also:
- Constant Field Values
LISTEN_MESSAGE_WAITING_INDICATOR
public static final int LISTEN_MESSAGE_WAITING_INDICATOR
- See Also:
- Constant Field Values
LISTEN_CALL_FORWARDING_INDICATOR
public static final int LISTEN_CALL_FORWARDING_INDICATOR
- See Also:
- Constant Field Values
LISTEN_CELL_LOCATION
public static final int LISTEN_CELL_LOCATION
- See Also:
- Constant Field Values
LISTEN_CALL_STATE
public static final int LISTEN_CALL_STATE
- See Also:
- Constant Field Values
LISTEN_DATA_CONNECTION_STATE
public static final int LISTEN_DATA_CONNECTION_STATE
- See Also:
- Constant Field Values
LISTEN_DATA_ACTIVITY
public static final int LISTEN_DATA_ACTIVITY
- See Also:
- Constant Field Values
LISTEN_SIGNAL_STRENGTHS
public static final int LISTEN_SIGNAL_STRENGTHS
- See Also:
- Constant Field Values
PhoneStateListener
public PhoneStateListener()
onServiceStateChanged
public void onServiceStateChanged(ServiceState serviceState)
onSignalStrengthChanged
public void onSignalStrengthChanged(int asu)
onMessageWaitingIndicatorChanged
public void onMessageWaitingIndicatorChanged(boolean mwi)
onCallForwardingIndicatorChanged
public void onCallForwardingIndicatorChanged(boolean cfi)
onCellLocationChanged
public void onCellLocationChanged(CellLocation location)
onCallStateChanged
public void onCallStateChanged(int state,
String incomingNumber)
onDataConnectionStateChanged
public void onDataConnectionStateChanged(int state)
onDataConnectionStateChanged
public void onDataConnectionStateChanged(int state,
int networkType)
onDataActivity
public void onDataActivity(int direction)
onSignalStrengthsChanged
public void onSignalStrengthsChanged(SignalStrength signalStrength)
Copyright © 2008-2012. All Rights Reserved.