FileDocCategorySizeDatePackage
ParcelableConference.javaAPI DocAndroid 5.1 API4272Thu Mar 12 22:22:42 GMT 2015android.telecom

ParcelableConference

public final class ParcelableConference extends Object implements android.os.Parcelable
A parcelable representation of a conference connection.
hide

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 intdescribeContents()
{@inheritDoc}


      
    
       
        return 0;
    
public longgetConnectTimeMillis()

        return mConnectTimeMillis;
    
public intgetConnectionCapabilities()

        return mConnectionCapabilities;
    
public java.util.ListgetConnectionIds()

        return mConnectionIds;
    
public PhoneAccountHandlegetPhoneAccount()

        return mPhoneAccount;
    
public intgetState()

        return mState;
    
public java.lang.StringtoString()

        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 voidwriteToParcel(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);