400-881-9892

文档中心

官方文档,可查阅产品介绍、快速入门、用户指南、开发指南、API参考、SDK参考、帮助等信息。

文档中心 互动课堂

TKNotificationCenter Overview

    TKNotificationCenter SDK listens to notifications

    The classroom whiteboard feature used by SaaS users requires registration or sendingccc notifications:

    Notification Name Method Description
    getInstance Get Singleton
    postNotificationName Send Whiteboard Notification
    addObserver Register for Whiteboard Notification Listening
    TKNotificationName

    The TKNotificationName file provides definitions for room signaling notifications related to the whiteboard features used by SaaS users.

    • WHITEBOARD LISTENING NOTIFICATION
    Notification Name Method Description
    onCheckRoom The notification for the completion of the checkroom
    onGetServerAddress Notification of obtaining the list of document server addresses
    onUserChanged Notification of user attribute change
    onUserLeft Notification of user departure
    onUserJoined Notification of user arrival
    participantPublished Notification of a large number of users taking the stage in the room
    participantEvicted Notification of being kicked out of the classroom
    onRemoteMsg Notification of receiving remote publication/deletion of custom signaling
    onRoomConnected Notification of successful room entry
    onRoomConnectFaild Notification of room disconnection
    TKWhiteBoardReceivePlaybackDurationNotification Notification of the total playback duration of the room
    playbackEnd Notification of the end of the room playback
    playback_updatetime Notification of the updated playback time progress in the room
    onFileList Notification of obtaining the file list
    onShareMediaState Notification of media sharing status
    onUpdateAttributeStream Notification of updating the playback progress of shared media video
    onFirstVideoFrame Notification of receiving the first frame of media video
    msgList Notification of the whiteboard pen message list