public class ConferenceParticipant extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ConferenceParticipant> |
CREATOR
Responsible for creating
ConferenceParticipant objects for deserialized Parcels. |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
ConferenceParticipant(Uri handle,
String displayName,
Uri endpoint,
int state)
Creates an instance of
ConferenceParticipant . |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation.
|
String |
getDisplayName()
The display name for the participant.
|
Uri |
getEndpoint()
The enpoint Uri which uniquely identifies this conference participant.
|
Uri |
getHandle()
The conference participant's handle (e.g., phone number).
|
int |
getState()
The state of the participant in the conference.
|
String |
toString()
Builds a string representation of this instance.
|
void |
writeToParcel(Parcel dest,
int flags)
Writes the
ConferenceParticipant to a parcel. |
public static final Parcelable.Creator<ConferenceParticipant> CREATOR
ConferenceParticipant
objects for deserialized Parcels.public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state)
ConferenceParticipant
.handle
- The conference participant's handle (e.g., phone number).displayName
- The display name for the participant.endpoint
- The enpoint Uri which uniquely identifies this conference participant.state
- The state of the participant in the conference.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)
ConferenceParticipant
to a parcel.writeToParcel
in interface Parcelable
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.public String toString()
public Uri getHandle()
public String getDisplayName()
public Uri getEndpoint()
public int getState()
Connection