public class PresRlmiInfo extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<PresRlmiInfo> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
PresRlmiInfo()
Constructor for the PresTupleInfo class.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation.
|
String |
getListName()
Gets the RLMI list name.
|
PresSubscriptionState |
getPresSubscriptionState()
Gets the presence subscription state.
|
int |
getRequestId()
Gets the subscription request ID.
|
int |
getSubscriptionExpireTime()
Gets the presence subscription expiration time.
|
String |
getSubscriptionTerminatedReason()
Gets the presence subscription terminated reason.
|
String |
getUri()
Gets the URI.
|
int |
getVersion()
Gets the version.
|
boolean |
isFullState()
Gets the RLMI state.
|
void |
readFromParcel(Parcel source) |
void |
setFullState(boolean fullState)
Sets the RLMI state.
|
void |
setListName(String listName)
Sets the RLMI list name.
|
void |
setPresSubscriptionState(PresSubscriptionState presSubscriptionState)
Sets the presence subscription state.
|
void |
setRequestId(int requestId)
Sets the subscription request ID.
|
void |
setSubscriptionExpireTime(int subscriptionExpireTime)
Sets the presence subscription expiration time.
|
void |
setSubscriptionTerminatedReason(String subscriptionTerminatedReason)
Sets the presence subscription terminated reason.
|
void |
setUri(String uri)
Sets the URI.
|
void |
setVersion(int version)
Sets the version.
|
void |
writeToParcel(Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
public static final Parcelable.Creator<PresRlmiInfo> CREATOR
public String getUri()
public void setUri(String uri)
public int getVersion()
public void setVersion(int version)
public boolean isFullState()
public void setFullState(boolean fullState)
public String getListName()
public void setListName(String listName)
public int getRequestId()
public void setRequestId(int requestId)
public PresSubscriptionState getPresSubscriptionState()
public void setPresSubscriptionState(PresSubscriptionState presSubscriptionState)
public int getSubscriptionExpireTime()
public void setSubscriptionExpireTime(int subscriptionExpireTime)
public String getSubscriptionTerminatedReason()
public void setSubscriptionTerminatedReason(String subscriptionTerminatedReason)
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)