public class NexmoMember
extends java.lang.Object
Use this class to retrieve information about a NexmoMember and handle state. For example, when a NexmoMember has joined a NexmoConversation, or when he or she is typing.
A NexmoMember can be kicked out of a conversation:
conversation.kick(member, new NexmoIRequestListener() { @Override public void onSuccess() { // Update the application UI here if needed. } @Override public void onError(NexmoAPIError error) { // Update the application UI here if needed. } });
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Modifier | Constructor and Description |
---|---|
protected |
NexmoMember(Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
NexmoChannel |
getChannel()
Get
NexmoChannelType associated to this NexmoMember. |
protected java.lang.String |
getConversationId() |
java.lang.String |
getMemberId() |
NexmoUser |
getUser() |
int |
hashCode() |
void |
writeToParcel(Parcel dest,
int flags) |
public void writeToParcel(Parcel dest, int flags)
public int describeContents()
public NexmoChannel getChannel()
NexmoChannelType
associated to this NexmoMember.public NexmoUser getUser()
public java.lang.String getMemberId()
protected java.lang.String getConversationId()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object