public class NexmoMediaActionEvent extends NexmoEvent
Represents the mute and earmuff media events dispatched into NexmoMediaActionEventListener
.
In order to send a NexmoMediaActionEvent
to NexmoCall.mute(boolean)
or
NexmoMember.enableEarmuff(NexmoRequestListener)
.
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<NexmoMediaActionEvent> |
CREATOR |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
NexmoMediaActionState |
getMediaActionState()
Gets
NexmoMediaActionState . |
NexmoMediaActionType |
getMediaActionType()
Gets
NexmoMediaActionType . |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getConversation, getConversationId, getCreationDate, getEmbeddedInfo, getEventType, getFromMemberId, getId, markEventState, updateEventState
public static final android.os.Parcelable.Creator<NexmoMediaActionEvent> CREATOR
public java.lang.String toString()
toString
in class NexmoEvent
public boolean equals(java.lang.Object o)
equals
in class NexmoEvent
public int hashCode()
hashCode
in class NexmoEvent
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class NexmoEvent
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class NexmoEvent
public NexmoMediaActionType getMediaActionType()
NexmoMediaActionType
.NexmoMediaActionType
.public NexmoMediaActionState getMediaActionState()
NexmoMediaActionState
.NexmoMediaActionState
.