public class NetCallAttachment extends java.lang.Object implements MsgAttachment
Modifier and Type | Class and Description |
---|---|
static class |
NetCallAttachment.Duration |
static class |
NetCallAttachment.NetCallAttachmentBuilder |
Constructor and Description |
---|
NetCallAttachment() |
Modifier and Type | Method and Description |
---|---|
static NetCallAttachment |
fromJson(java.lang.String jsonString) |
long |
getChannelId() |
java.util.List<NetCallAttachment.Duration> |
getDurations() |
int |
getStatus() |
int |
getType() |
java.lang.String |
toJson(boolean send)
Serialize message attachment to strings and store the strings in the message database or send them to the server.
|
public int getType()
public long getChannelId()
public int getStatus()
public java.util.List<NetCallAttachment.Duration> getDurations()
public java.lang.String toJson(boolean send)
MsgAttachment
toJson
in interface MsgAttachment
send
- If attachments are required to be stored in local storage and not to be sent to the server. The parameter can be specified.public static NetCallAttachment fromJson(java.lang.String jsonString)