public class NexmoChannel
extends java.lang.Object
implements java.io.Serializable, android.os.Parcelable
Channel that connects the user to the NexmoConversation
eg. NexmoChannelType.APP
,
NexmoChannelType.PHONE
, NexmoChannelType.WEBSOCKET
.
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<NexmoChannel> |
CREATOR |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
NexmoDirection |
getFrom()
Gets the origin
NexmoDirection . |
NexmoLeg |
getLeg()
Gets the
NexmoLeg . |
NexmoDirection |
getTo()
Gets the target
NexmoDirection . |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<NexmoChannel> CREATOR
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public int describeContents()
describeContents
in interface android.os.Parcelable
public NexmoDirection getFrom()
NexmoDirection
.public NexmoDirection getTo()
NexmoDirection
.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