PhoneState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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 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.