English | Site Directory

Android - An Open Handset Alliance Project

android.telephony
public static final enum

android.telephony.ServiceState.State

java.lang.Object
java.lang.Enum Serializable Comparable
android.telephony.ServiceState.State

The servcie state enums of phone. One of the following:

  • IN_SERVICE = Normal operation condition, the phone is registered with an operator either in home network or in roaming.
  • OUT_OF_SERVICE = 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.
  • EMERGENCY_ONLY = The phone is registered and locked. Only emergency number are allowed.
  • POWER_OFF = Radio of telephony is explictly powered off.

Summary

Enum Values

State  EMERGENCY_ONLY   
State  IN_SERVICE   
State  OUT_OF_SERVICE   
State  POWER_OFF   

Public Methods

      static  State  valueOf(String name)
    final  static  State[]  values()
Methods inherited from class java.lang.Enum
Methods inherited from class java.lang.Object
Methods inherited from interface java.lang.Comparable

Details

Enum Values

public static final State EMERGENCY_ONLY

public static final State IN_SERVICE

public static final State OUT_OF_SERVICE

public static final State POWER_OFF

Public Methods

public static State valueOf(String name)

public static final State[] values()

Build m5-rc15i - 10 Jun 2008 13:54