Compartilhar via


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

Name Value Description
BarringInfo -2147483648
None 0

Stop listening for updates.

ServiceState 1

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

SignalStrength 2
MessageWaitingIndicator 4
CallForwardingIndicator 8
CellLocation 16
CallState 32
DataConnectionState 64

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

DataActivity 128
SignalStrengths 256
CellInfo 1024

Listen for changes to observed cell info.

PreciseDataConnectionState 4096
UserMobileDataState 524288
DisplayInfoChanged 1048576
ActiveDataSubscriptionIdChange 4194304
EmergencyNumberList 16777216
CallDisconnectCauses 33554432
ImsCallDisconnectCauses 134217728
RegistrationFailure 1073741824

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