Tag Handler
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
}
})Content copied to clipboard