public class PresResInstanceInfo extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<PresResInstanceInfo> |
CREATOR |
static int |
UCE_PRES_RES_INSTANCE_STATE_ACTIVE
Active state.
|
static int |
UCE_PRES_RES_INSTANCE_STATE_PENDING
Pending state.
|
static int |
UCE_PRES_RES_INSTANCE_STATE_TERMINATED
Terminated state.
|
static int |
UCE_PRES_RES_INSTANCE_STATE_UNKNOWN
Unknown state.
|
static int |
UCE_PRES_RES_INSTANCE_UNKNOWN
Unknown instance.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
PresResInstanceInfo()
Constructor for the PresResInstanceInfo class.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation.
|
String |
getPresentityUri()
Gets the entity URI.
|
String |
getReason()
Gets the reason phrase associated with the SIP response
code.
|
String |
getResId()
Gets the resource ID.
|
int |
getResInstanceState()
Gets the resource instance state.
|
PresTupleInfo[] |
getTupleInfo()
Gets the tuple information.
|
void |
readFromParcel(Parcel source) |
void |
setPresentityUri(String presentityUri)
Sets the entity URI.
|
void |
setReason(String reason)
Sets the reason phrase associated with the SIP response
code.
|
void |
setResId(String resourceId)
Sets the resource ID.
|
void |
setResInstanceState(int nResInstanceState)
Sets the resource instance state.
|
void |
setTupleInfo(PresTupleInfo[] tupleInfo)
Sets the tuple information.
|
void |
writeToParcel(Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
public static final int UCE_PRES_RES_INSTANCE_STATE_ACTIVE
public static final int UCE_PRES_RES_INSTANCE_STATE_PENDING
public static final int UCE_PRES_RES_INSTANCE_STATE_TERMINATED
public static final int UCE_PRES_RES_INSTANCE_STATE_UNKNOWN
public static final int UCE_PRES_RES_INSTANCE_UNKNOWN
public static final Parcelable.Creator<PresResInstanceInfo> CREATOR
public PresResInstanceInfo()
public int getResInstanceState()
public void setResInstanceState(int nResInstanceState)
public String getResId()
public void setResId(String resourceId)
public String getReason()
public void setReason(String reason)
public String getPresentityUri()
public void setPresentityUri(String presentityUri)
public PresTupleInfo[] getTupleInfo()
public void setTupleInfo(PresTupleInfo[] tupleInfo)
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)