共用方式為


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
EmergencyOnly 2
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