Android.Telephony.TelephonyManager.ActionPhoneStateChanged Field
Broadcast intent action indicating that the call state (cellular) on the device has changed.

Syntax

[Android.Runtime.Register("ACTION_PHONE_STATE_CHANGED")]
public const string ActionPhoneStateChanged

See Also

TelephonyManager.ExtraState
TelephonyManager.ExtraIncomingNumber
TelephonyManager.CallState

Remarks

Broadcast intent action indicating that the call state (cellular) on the device has changed.

The TelephonyManager.ExtraState extra indicates the new call state. If the new state is RINGING, a second extra TelephonyManager.ExtraIncomingNumber provides the incoming phone number as a String.

Requires the READ_PHONE_STATE permission.

This was a Android.Content.Context.SendStickyBroadcast(Android.Content.Intent) broadcast in version 1.0, but it is no longer sticky. Instead, use TelephonyManager.CallState to synchronously query the current call state.

[Android Documentation]

Requirements

Namespace: Android.Telephony
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3