public class StatusCode extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<StatusCode> |
CREATOR |
static int |
UCE_FAILURE
Request was processed unsuccessfully.
|
static int |
UCE_FETCH_ERROR
Fetch error.
|
static int |
UCE_INSUFFICIENT_MEMORY
Failure due to insufficient memory available.
|
static int |
UCE_INVALID_LISTENER_HANDLE
Provided listener handler is not valid.
|
static int |
UCE_INVALID_PARAM
Invalid parameter(s).
|
static int |
UCE_INVALID_SERVICE_HANDLE
Provided service handle is not valid.
|
static int |
UCE_LOST_NET
Network connection is lost.
|
static int |
UCE_NO_CHANGE_IN_CAP
No Change in Capabilities
|
static int |
UCE_NOT_FOUND
Contact or resource is not found.
|
static int |
UCE_NOT_SUPPORTED
Requested feature/resource is not supported.
|
static int |
UCE_REQUEST_TIMEOUT
Request timed out.
|
static int |
UCE_SERVICE_UNAVAILABLE
Service is not available.
|
static int |
UCE_SERVICE_UNKNOWN
Service is unknown.
|
static int |
UCE_SUCCESS
Request was processed successfully.
|
static int |
UCE_SUCCESS_ASYC_UPDATE
Asynchronous request was handled successfully; the final
result will be updated through
callback.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
StatusCode()
Constructor for the StatusCode class.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation.
|
int |
getStatusCode()
Gets the status code.
|
void |
readFromParcel(Parcel source) |
void |
setStatusCode(int nStatusCode)
Sets the status code.
|
void |
writeToParcel(Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
public static final int UCE_SUCCESS
public static final int UCE_FAILURE
public static final int UCE_SUCCESS_ASYC_UPDATE
public static final int UCE_INVALID_SERVICE_HANDLE
public static final int UCE_INVALID_LISTENER_HANDLE
public static final int UCE_INVALID_PARAM
public static final int UCE_FETCH_ERROR
public static final int UCE_REQUEST_TIMEOUT
public static final int UCE_INSUFFICIENT_MEMORY
public static final int UCE_LOST_NET
public static final int UCE_NOT_SUPPORTED
public static final int UCE_NOT_FOUND
public static final int UCE_SERVICE_UNAVAILABLE
public static final int UCE_NO_CHANGE_IN_CAP
public static final int UCE_SERVICE_UNKNOWN
public static final Parcelable.Creator<StatusCode> CREATOR
public int getStatusCode()
public void setStatusCode(int nStatusCode)
public int describeContents()
Parcelable
Parcelable.writeToParcel(Parcel, int)
,
the return value of this method must include the
Parcelable.CONTENTS_FILE_DESCRIPTOR
bit.describeContents
in interface Parcelable
Parcelable.CONTENTS_FILE_DESCRIPTOR
public void writeToParcel(Parcel dest, int flags)
Parcelable
writeToParcel
in interface Parcelable
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.public void readFromParcel(Parcel source)