public class

TelephonyState

extends Object
implements Parcelable
java.lang.Object
   ↳ com.htc.lockscreen.telephony.TelephonyState

Summary

Constants
int ICC_ABSENT
int ICC_EXPIRED
int ICC_FAIL
int ICC_IMEI_LOCKED
int ICC_NETWORK_LOCKED
int ICC_PIN_REQUIRED
int ICC_PUK_PERM_BLOCKED
int ICC_PUK_REQUIRED
int ICC_READY
int ICC_UNKNOW
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public boolean mIsAirPlaneMode
public int mNetworkServiceStatus
public CharSequence mPlmn
public int mSimState
public CharSequence mSpn
public String mUICCOperator
public boolean mUiccProvision
public int mUiccState
Public Constructors
TelephonyState(IccCard.State state, int networkState, boolean isAirplaneMode, CharSequence plmn, CharSequence spn, int uiccState, boolean provision)
TelephonyState(int state, int networkState, boolean isAirplaneMode, CharSequence plmn, CharSequence spn, int uiccState, boolean provision)
TelephonyState(Parcel parcel)
Public Methods
Bundle getExtra()
int getSimStateInt()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Constants

public static final int ICC_ABSENT

Since: API Level 2.2

Constant Value: 1 (0x00000001)

public static final int ICC_EXPIRED

Since: API Level 2.2

Constant Value: 8 (0x00000008)

public static final int ICC_FAIL

Since: API Level 2.2

Constant Value: 6 (0x00000006)

public static final int ICC_IMEI_LOCKED

Since: API Level 2.2

Constant Value: 7 (0x00000007)

public static final int ICC_NETWORK_LOCKED

Since: API Level 2.2

Constant Value: 5 (0x00000005)

public static final int ICC_PIN_REQUIRED

Since: API Level 2.2

Constant Value: 3 (0x00000003)

public static final int ICC_PUK_PERM_BLOCKED

Since: API Level 4.4

Constant Value: 9 (0x00000009)

public static final int ICC_PUK_REQUIRED

Since: API Level 2.2

Constant Value: 4 (0x00000004)

public static final int ICC_READY

Since: API Level 2.2

Constant Value: 2 (0x00000002)

public static final int ICC_UNKNOW

Since: API Level 2.2

Constant Value: 0 (0x00000000)

Fields

public boolean mIsAirPlaneMode

Since: API Level 2.2

public int mNetworkServiceStatus

Since: API Level 2.2

public CharSequence mPlmn

Since: API Level 2.2

public int mSimState

Since: API Level 2.2

public CharSequence mSpn

Since: API Level 2.2

public String mUICCOperator

Since: API Level 2.2

public boolean mUiccProvision

Since: API Level 2.2

public int mUiccState

Since: API Level 2.2

Public Constructors

public TelephonyState (IccCard.State state, int networkState, boolean isAirplaneMode, CharSequence plmn, CharSequence spn, int uiccState, boolean provision)

Since: API Level 2.2

public TelephonyState (int state, int networkState, boolean isAirplaneMode, CharSequence plmn, CharSequence spn, int uiccState, boolean provision)

Since: API Level 4.0

public TelephonyState (Parcel parcel)

Since: API Level 2.2

Public Methods

public Bundle getExtra ()

public int getSimStateInt ()

Since: API Level 4.0