public class MediaState extends Object implements Parcelable
SipCallSession.MediaStateParcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
boolean |
canBluetoothSco
Gives phone capability to route to bluetooth SCO
|
boolean |
canMicrophoneMute
Gives phone capability to mute microphone
|
boolean |
canSpeakerphoneOn
Gives phone capability to route to speaker
|
static Parcelable.Creator<MediaState> |
CREATOR
Parcelable creator.
|
boolean |
isBluetoothScoOn
Whether the audio routes to Bluetooth SCO
|
boolean |
isMicrophoneMute
Whether the microphone is currently muted
|
boolean |
isSpeakerphoneOn
Whether the audio routes to the speaker
|
int |
primaryKey
Primary key for the parcelable object
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
MediaState()
Constructor for a media state object
It will contains default values for all flags This class as no setter/getter for members flags It's aim is to allow to serialize/deserialize easily the state of media layer, |
public int primaryKey
public boolean isMicrophoneMute
public boolean isSpeakerphoneOn
public boolean isBluetoothScoOn
public boolean canMicrophoneMute
public boolean canSpeakerphoneOn
public boolean canBluetoothSco
public static final Parcelable.Creator<MediaState> CREATOR
public MediaState()
public int describeContents()
describeContents in interface ParcelableParcelable.describeContents()public void writeToParcel(Parcel dest, int flags)
writeToParcel in interface ParcelableParcelable.writeToParcel(Parcel, int)