鸿蒙 IMLib-v1.8.0
    Preparing search index...

    同步会话已读状态监听

    1.2.0

    interface SyncConversationReadStatusListener {
        onSyncConversationReadStatus(
            conId: ConversationIdentifier,
            timestamp: number,
        ): void;
    }
    Index

    Methods

    • 会话已读

      Parameters

      • conId: ConversationIdentifier

        会话标识

      • timestamp: number

        已读的毫秒时间戳,该时间戳前的消息已读

      Returns void

      该监听触发时,本地数据库的该会话的该时间戳之前未读已清空