public class ServiceState extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
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 |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
ServiceState() |
ServiceState(Parcel in) |
ServiceState(ServiceState s) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static final int STATE_IN_SERVICE
public static final int STATE_OUT_OF_SERVICE
public static final int STATE_EMERGENCY_ONLY
public static final int STATE_POWER_OFF
public static final Parcelable.Creator<ServiceState> CREATOR
public ServiceState()
public ServiceState(ServiceState s)
public ServiceState(Parcel in)
protected void copyFrom(ServiceState s)
public void writeToParcel(Parcel out, int flags)
writeToParcel in interface Parcelablepublic int describeContents()
describeContents in interface Parcelablepublic int getState()
public boolean getRoaming()
public String getOperatorAlphaLong()
public String getOperatorAlphaShort()
public String getOperatorNumeric()
public boolean getIsManualSelection()
public void setStateOutOfService()
public void setStateOff()
public void setState(int state)
public void setRoaming(boolean roaming)
public void setIsManualSelection(boolean isManual)
Copyright © 2008-2013. All Rights Reserved.