ParcelableConferencepublic final class ParcelableConference extends Object implements android.os.ParcelableA parcelable representation of a conference connection. |
Fields Summary |
---|
private PhoneAccountHandle | mPhoneAccount | private int | mState | private int | mConnectionCapabilities | private List | mConnectionIds | private long | mConnectTimeMillis | public static final Parcelable.Creator | CREATOR |
Constructors Summary |
---|
public ParcelableConference(PhoneAccountHandle phoneAccount, int state, int connectionCapabilities, List connectionIds)
mPhoneAccount = phoneAccount;
mState = state;
mConnectionCapabilities = connectionCapabilities;
mConnectionIds = connectionIds;
mConnectTimeMillis = Conference.CONNECT_TIME_NOT_SPECIFIED;
| public ParcelableConference(PhoneAccountHandle phoneAccount, int state, int connectionCapabilities, List connectionIds, long connectTimeMillis)
this(phoneAccount, state, connectionCapabilities, connectionIds);
mConnectTimeMillis = connectTimeMillis;
|
Methods Summary |
---|
public int | describeContents(){@inheritDoc}
return 0;
| public long | getConnectTimeMillis()
return mConnectTimeMillis;
| public int | getConnectionCapabilities()
return mConnectionCapabilities;
| public java.util.List | getConnectionIds()
return mConnectionIds;
| public PhoneAccountHandle | getPhoneAccount()
return mPhoneAccount;
| public int | getState()
return mState;
| public java.lang.String | toString()
return (new StringBuffer())
.append("account: ")
.append(mPhoneAccount)
.append(", state: ")
.append(Connection.stateToString(mState))
.append(", capabilities: ")
.append(Connection.capabilitiesToString(mConnectionCapabilities))
.append(", connectTime: ")
.append(mConnectTimeMillis)
.append(", children: ")
.append(mConnectionIds)
.toString();
| public void | writeToParcel(android.os.Parcel destination, int flags)Writes ParcelableConference object into a Parcel.
destination.writeParcelable(mPhoneAccount, 0);
destination.writeInt(mState);
destination.writeInt(mConnectionCapabilities);
destination.writeList(mConnectionIds);
destination.writeLong(mConnectTimeMillis);
|
|