android.telephony
Class ServiceState

java.lang.Object
  extended by android.telephony.ServiceState
All Implemented Interfaces:
Parcelable

public class ServiceState
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<ServiceState> CREATOR
           
static int STATE_EMERGENCY_ONLY
           
static int STATE_IN_SERVICE
           
static int STATE_OUT_OF_SERVICE
           
static int STATE_POWER_OFF
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
ServiceState()
           
ServiceState(Parcel in)
           
ServiceState(ServiceState s)
           
 
Method Summary
protected  void copyFrom(ServiceState s)
           
 int describeContents()
           
 boolean equals(Object o)
           
 boolean getIsManualSelection()
           
 String getOperatorAlphaLong()
           
 String getOperatorAlphaShort()
           
 String getOperatorNumeric()
           
 boolean getRoaming()
           
 int getState()
           
 int hashCode()
           
 void setIsManualSelection(boolean isManual)
           
 void setOperatorName(String longName, String shortName, String numeric)
           
 void setRoaming(boolean roaming)
           
 void setState(int state)
           
 void setStateOff()
           
 void setStateOutOfService()
           
 String toString()
           
 void writeToParcel(Parcel out, int flags)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ServiceState

public ServiceState()

ServiceState

public ServiceState(ServiceState s)

ServiceState

public ServiceState(Parcel in)
Method Detail

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.