MCPcopy Create free account
hub / github.com/InsightIM/Tok-Android / Message

Method Message

app/src/main/java/com/client/tok/bean/Message.java:55–72  ·  view source on GitHub ↗
(int id, long messageId, ContactsKey key, ContactsKey senderKey, String senderName,
        String message, int sentStatus, int receiveStatus, boolean read, boolean hasPlayed,
        long timestamp, long size, MessageType msgType, FileKind fileKind)

Source from the content-addressed store, hash-verified

53 private FileKind fileKind;
54
55 public Message(int id, long messageId, ContactsKey key, ContactsKey senderKey, String senderName,
56 String message, int sentStatus, int receiveStatus, boolean read, boolean hasPlayed,
57 long timestamp, long size, MessageType msgType, FileKind fileKind) {
58 this.id = id;
59 this.messageId = messageId;
60 this.key = key;
61 this.senderKey = senderKey;
62 this.senderName = senderName;
63 this.message = message;
64 this.sentStatus = sentStatus;
65 this.receiveStatus = receiveStatus;
66 this.read = read;
67 this.hasPlayed = hasPlayed;
68 this.timestamp = timestamp;
69 this.size = size;
70 this.msgType = msgType;
71 this.fileKind = fileKind;
72 }
73
74 public int getId() {
75 return id;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected