android.telephony
Class PhoneStateIntentReceiver
java.lang.Object
android.content.IntentReceiver
android.telephony.PhoneStateIntentReceiver
public final class PhoneStateIntentReceiver
- extends IntentReceiver
| Methods inherited from class android.content.IntentReceiver |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, setDebugUnregister, setResult, setResultCode, setResultData, setResultExtras |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INTENT_KEY_ASU
public static final String INTENT_KEY_ASU
- See Also:
- Constant Field Values
INTENT_KEY_MWI
public static final String INTENT_KEY_MWI
- See Also:
- Constant Field Values
INTENT_KEY_CFI
public static final String INTENT_KEY_CFI
- See Also:
- Constant Field Values
PhoneStateIntentReceiver
public PhoneStateIntentReceiver()
PhoneStateIntentReceiver
public PhoneStateIntentReceiver(Context context,
Handler target)
setContext
public void setContext(Context c)
setTarget
public void setTarget(Handler h)
getPhoneState
public Phone.State getPhoneState()
getServiceState
public ServiceState getServiceState()
getSignalStrength
public int getSignalStrength()
getSignalStrengthDbm
public int getSignalStrengthDbm()
getMessageWaitingIndicator
public boolean getMessageWaitingIndicator()
getCallForwardingIndicator
public boolean getCallForwardingIndicator()
notifyPhoneCallState
public void notifyPhoneCallState(int eventWhat)
getNotifyPhoneCallState
public boolean getNotifyPhoneCallState()
notifyServiceState
public void notifyServiceState(int eventWhat)
getNotifyServiceState
public boolean getNotifyServiceState()
notifySignalStrength
public void notifySignalStrength(int eventWhat)
getNotifySignalStrength
public boolean getNotifySignalStrength()
notifyMessageWaitingIndicator
public void notifyMessageWaitingIndicator(int eventWhat)
getNotifyMessageWaitingIndicator
public boolean getNotifyMessageWaitingIndicator()
notifyCallForwardingIndicator
public void notifyCallForwardingIndicator(int eventWhat)
getNotifyCallForwardingIndicator
public boolean getNotifyCallForwardingIndicator()
registerIntent
public void registerIntent()
unregisterIntent
public void unregisterIntent()
onReceiveIntent
public void onReceiveIntent(Context context,
Intent intent)
- Specified by:
onReceiveIntent in class IntentReceiver
Please submit a feedback, bug or feature