public class NexmoDirection
extends java.lang.Object
implements java.io.Serializable, android.os.Parcelable
Directional data from Conversation Service (Conversation API).
NexmoChannel
:
NexmoDirection fromDirections = nexmoChannel.getFrom(); NexmoDirection toDirections = nexmoChannel.getTo();
Modifier and Type | Class and Description |
---|---|
static class |
NexmoDirection.Type
Enum representing channel type for a
NexmoDirection |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<NexmoDirection> |
CREATOR |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getData()
Gets data.
|
NexmoDirection.Type |
getType() |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<NexmoDirection> 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.Type getType()
public java.lang.String getData()
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