TagHandler

public interface TagHandler

Tag event handler.

Listen tag related multi-device Sync Event, including tag Change and tag associated channel Change. Received Callback after, can Call com.nexconn.chat.tag.Tag.getTags Get latest Tag info.

Usage Example:

NCEngine.addTagHandler("TAG_HANDLER_ID", object : TagHandler {
override fun onTagChanged() {
// tag changed, re- New Get tag List
Tag.getTags { tags, error -> ... }
}

override fun onConversationTagChanged() {
// tag associated channel changed
}
})

Functions

Link copied to clipboard

Tag-channel association change callback.

Link copied to clipboard
public Unit onTagChanged()

Tag info change callback.