android.telephony
Class ServiceState
java.lang.Object
android.telephony.ServiceState
- All Implemented Interfaces:
- Parcelable
public class ServiceState
- extends Object
- implements Parcelable
STATE_IN_SERVICE
public static final int STATE_IN_SERVICE
- See Also:
- Constant Field Values
STATE_OUT_OF_SERVICE
public static final int STATE_OUT_OF_SERVICE
- See Also:
- Constant Field Values
STATE_EMERGENCY_ONLY
public static final int STATE_EMERGENCY_ONLY
- See Also:
- Constant Field Values
STATE_POWER_OFF
public static final int STATE_POWER_OFF
- See Also:
- Constant Field Values
CREATOR
public static final Parcelable.Creator<ServiceState> CREATOR
ServiceState
public ServiceState()
ServiceState
public ServiceState(ServiceState s)
ServiceState
public ServiceState(Parcel in)
copyFrom
protected void copyFrom(ServiceState s)
writeToParcel
public void writeToParcel(Parcel out,
int flags)
- Specified by:
writeToParcel
in interface Parcelable
describeContents
public int describeContents()
- Specified by:
describeContents
in interface Parcelable
getState
public int getState()
getRoaming
public boolean getRoaming()
getOperatorAlphaLong
public String getOperatorAlphaLong()
getOperatorAlphaShort
public String getOperatorAlphaShort()
getOperatorNumeric
public String getOperatorNumeric()
getIsManualSelection
public boolean getIsManualSelection()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
setStateOutOfService
public void setStateOutOfService()
setStateOff
public void setStateOff()
setState
public void setState(int state)
setRoaming
public void setRoaming(boolean roaming)
setOperatorName
public void setOperatorName(String longName,
String shortName,
String numeric)
setIsManualSelection
public void setIsManualSelection(boolean isManual)
Copyright © 2008-2012. All Rights Reserved.