public class NexmoMedia
extends java.lang.Object
implements java.io.Serializable, android.os.Parcelable
Represents the media state of a NexmoMember
in a NexmoConversation
Retrieve member media:
member.getMedia();
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<NexmoMedia> |
CREATOR |
Constructor and Description |
---|
NexmoMedia(boolean enabled,
boolean muted,
boolean earmuffed) |
NexmoMedia(Media media) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isEarmuffed()
Gets is earmuffed.
|
boolean |
isEnabled()
Gets is enabled.
|
boolean |
isMuted()
Gets is muted.
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel parcel,
int i) |
public static final android.os.Parcelable.Creator<NexmoMedia> CREATOR
public NexmoMedia(boolean enabled, boolean muted, boolean earmuffed)
public NexmoMedia(Media media)
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel parcel, int i)
writeToParcel
in interface android.os.Parcelable
public boolean isEnabled()
public boolean isMuted()
public boolean isEarmuffed()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object