ConferenceParticipantpublic class ConferenceParticipant extends Object implements android.os.ParcelableParcelable representation of a participant's state in a conference call. |
Fields Summary |
---|
private final android.net.Uri | mHandleThe conference participant's handle (e.g., phone number). | private final String | mDisplayNameThe display name for the participant. | private final android.net.Uri | mEndpointThe endpoint Uri which uniquely identifies this conference participant. E.g. for an IMS
conference call, this is the endpoint URI for the participant on the IMS conference server. | private final int | mStateThe state of the participant in the conference. | public static final Parcelable.Creator | CREATORResponsible for creating {@code ConferenceParticipant} objects for deserialized Parcels. |
Constructors Summary |
---|
public ConferenceParticipant(android.net.Uri handle, String displayName, android.net.Uri endpoint, int state)Creates an instance of {@code ConferenceParticipant}.
mHandle = handle;
mDisplayName = displayName;
mEndpoint = endpoint;
mState = state;
|
Methods Summary |
---|
public int | describeContents()
return 0;
| public java.lang.String | getDisplayName()The display name for the participant.
return mDisplayName;
| public android.net.Uri | getEndpoint()The enpoint Uri which uniquely identifies this conference participant. E.g. for an IMS
conference call, this is the endpoint URI for the participant on the IMS conference server.
return mEndpoint;
| public android.net.Uri | getHandle()The conference participant's handle (e.g., phone number).
return mHandle;
| public int | getState()The state of the participant in the conference.
return mState;
| public java.lang.String | toString()Builds a string representation of this instance.
StringBuilder sb = new StringBuilder();
sb.append("[ConferenceParticipant Handle: ");
sb.append(mHandle);
sb.append(" DisplayName: ");
sb.append(mDisplayName);
sb.append(" Endpoint: ");
sb.append(mEndpoint);
sb.append(" State: ");
sb.append(mState);
sb.append("]");
return sb.toString();
| public void | writeToParcel(android.os.Parcel dest, int flags)Writes the {@code ConferenceParticipant} to a parcel.
dest.writeParcelable(mHandle, 0);
dest.writeString(mDisplayName);
dest.writeParcelable(mEndpoint, 0);
dest.writeInt(mState);
|
|