PhoneStateListenerFlags Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum PhoneStateListenerFlags
[<System.Flags>]
type PhoneStateListenerFlags = 
Inheritance
PhoneStateListenerFlags
Attributes

Fields

ActiveDataSubscriptionIdChange 4194304
BarringInfo -2147483648
CallDisconnectCauses 33554432
CallForwardingIndicator 8
CallState 32
CellInfo 1024

Listen for changes to observed cell info.

CellLocation 16
DataActivity 128
DataConnectionState 64

Listen for changes to the data connection state (cellular).

DisplayInfoChanged 1048576
EmergencyNumberList 16777216
ImsCallDisconnectCauses 134217728
MessageWaitingIndicator 4
None 0

Stop listening for updates.

PreciseDataConnectionState 4096
RegistrationFailure 1073741824
ServiceState 1

Listen for changes to the network service state (cellular).

SignalStrength 2
SignalStrengths 256
UserMobileDataState 524288

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to