MessagePersistent

public class MessagePersistent

Message storage policy flag constants.

Defines message storage and unread count behavior. Used when registering custom message types to specify how the SDK handles them.

// Stored and counted toward unread count
val flag = MessagePersistent.COUNT

// Stored but not counted
val flag = MessagePersistent.PERSIST

Properties

Link copied to clipboard
public final static Integer COUNT

Stored in message history and counted toward unread count.

Link copied to clipboard
public final static MessagePersistent INSTANCE
Link copied to clipboard
public final static Integer NONE

Not stored, not counted.

Link copied to clipboard
public final static Integer PERSIST

Stored in message history but not counted toward unread count.

Link copied to clipboard
public final static Integer STATUS

Transient message — not stored, not counted.