Android.Telephony.PhoneStateListenerFlags Enumeration
Enumerates values returned by several methods of Android.Telephony.PhoneStateListenerFlags and taken as a parameter of the TelephonyManager.Listen member.

Syntax

[System.Flags]
public enum PhoneStateListenerFlags

Remarks

Enumerates values returned by the following: and taken as a parameter of the TelephonyManager.Listen member.

Members

Member NameDescription
CallForwardingIndicator

Requires Permission: Android.Manifest.Permission.ReadPhoneState

CallState

Requires Permission: Android.Manifest.Permission.ReadPhoneState

CellInfoListen for changes to observed cell info.
CellLocation

Android.Manifest.Permission.AccessCoarseLocation

If you need regular location updates but want more control over the update interval or location precision, you can set up a listener through the Android.Locations.LocationManager instead.

DataActivity

Requires Permission: Android.Manifest.Permission.ReadPhoneState Example: The status bar uses this to display the appropriate data-traffic icon.

DataConnectionStateListen for changes to the data connection state (cellular).
MessageWaitingIndicator

Android.Manifest.Permission.ReadPhoneState

Example: The status bar uses this to determine when to display the voicemail icon.

NoneStop listening for updates.
ServiceStateListen for changes to the network service state (cellular).
SignalStrength

Android.Manifest.Permission.ReadPhoneState

SignalStrengths

Example: The status bar uses this to control the signal-strength icon.

Requirements

Namespace: Android.Telephony
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0