Java android.telephony ServiceState fields, constructors, methods, implement or subclass

Example usage for Java android.telephony ServiceState fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.telephony ServiceState.

The text is from its open source code.

Field

intSTATE_IN_SERVICE
Normal operation condition, the phone is registered with an operator either in home network or in roaming.
intSTATE_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.
intSTATE_EMERGENCY_ONLY
The phone is registered and locked.
intSTATE_POWER_OFF
Radio of telephony is explicitly powered off.

Method

ClassgetClass()
Returns the runtime class of this Object .
StringgetOperatorAlphaLong()
Get current registered operator name in long alphanumeric format.
StringgetOperatorNumeric()
Get current registered operator numeric id.
booleangetRoaming()
Get current roaming indicator of phone (note: not just decoding from TS 27.007 7.2)
intgetState()
Get current voice service state
ServiceStatenewFromBundle(Bundle m)
Create a new ServiceState from a intent notifier Bundle This method is used by PhoneStateIntentReceiver and maybe by external applications.