Language

PhoneState Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Telephony.TelephonyManager.Listen, and F:Android.Telephony.TelephonyManager.Listen members.

public enum PhoneState
type PhoneState = 
Inheritance
PhoneState

Fields

Name Value Description
InService 0

Normal operation condition, the phone is registered with an operator either in home network or in roaming.

OutOfService 1

Phone is not registered with any operator, the phone can be currently searching a new operator to register to, or not searching to registration at all, or registration is denied, or radio signal is not available.

Android reference for android.telephony.ServiceState.STATE_OUT_OF_SERVICE.

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.

EmergencyOnly 2

The phone is registered and locked. Only emergency numbers are allowed.

Android reference for android.telephony.ServiceState.STATE_EMERGENCY_ONLY.

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.

PowerOff 3

Radio of telephony is explicitly powered off.

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