public interface MessageHistoryAdvancedService
Modifier and Type | Method and Description |
---|---|
void |
insertMessage(java.lang.String direction,
Contact source,
Contact destination,
Message message,
java.util.Date messageTimestamp,
boolean isSmsSubtype)
Inserts message to the history.
|
void insertMessage(java.lang.String direction, Contact source, Contact destination, Message message, java.util.Date messageTimestamp, boolean isSmsSubtype)
direction
- String direction of the message in or out.source
- The source Contactdestination
- The destination Contactmessage
- Message message to be writtenmessageTimestamp
- Date this is the timestamp when was message
received that came from the protocol providerisSmsSubtype
- whether message to write is an sms
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.