public class NexmoMediaEvent extends NexmoEvent
Represents the mute and earmuff media events dispatched into NexmoMediaActionEventListener.
In order to send a NexmoMediaEvent to NexmoCall.answer(NexmoRequestListener) or
NexmoCall.hangup(NexmoRequestListener).
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<NexmoMediaEvent> |
CREATOR |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
NexmoMediaState |
getMediaState()
Gets media state.
|
NexmoMediaType |
getMediaType()
Gets media type.
|
int |
hashCode() |
void |
setMediaState(NexmoMediaState mediaState)
Sets media state.
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getConversation, getConversationId, getCreationDate, getEmbeddedInfo, getEventType, getFromMemberId, getId, markEventState, updateEventStatepublic static final android.os.Parcelable.Creator<NexmoMediaEvent> CREATOR
public java.lang.String toString()
toString in class NexmoEventpublic boolean equals(java.lang.Object o)
equals in class NexmoEventpublic int hashCode()
hashCode in class NexmoEventpublic int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class NexmoEventpublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class NexmoEventpublic NexmoMediaType getMediaType()
public NexmoMediaState getMediaState()
public void setMediaState(NexmoMediaState mediaState)