低代码

  • 低代码 > API 文档 > 互动直播 > android API文档 > QChatRoomServiceListener

    QChatRoomServiceListener

    最近更新时间: 2023-02-02 15:47:10

    interface com.qlive.chatservice.QChatRoomServiceListener

    聊天室监听

    Index
    方法
    方法
    onUserJoin
    • public void onUserJoin(String memberID)
    • On user join.

      Parameters
      • memberID: String

        the member id

      Returns void
    onUserLeft
    • public void onUserLeft(String memberID)
    • On user left.

      Parameters
      • memberID: String

        the member id

      Returns void
    onReceivedC2CMsg
    • public void onReceivedC2CMsg(TextMsg msg)
    • On received c 2 c msg.

      Parameters
      • msg: TextMsg

        the msg

      Returns void
    onReceivedGroupMsg
    • public void onReceivedGroupMsg(TextMsg msg)
    • On received group msg.

      Parameters
      • msg: TextMsg

        the msg

      Returns void
    onUserKicked
    • public void onUserKicked(String memberID)
    • On user kicked.

      Parameters
      • memberID: String

        the member id

      Returns void
    onUserBeMuted
    • public void onUserBeMuted(boolean isMute,String memberID,long duration)
    • On user be muted.

      Parameters
      • isMute: boolean

        the is mute

      • memberID: String

        the member id

      • duration: long

        the duration

      Returns void
    onAdminAdd
    • public void onAdminAdd(String memberID)
    • On admin add.

      Parameters
      • memberID: String

        the member id

      Returns void
    onAdminRemoved
    • public void onAdminRemoved(String memberID,String reason)
    • On admin removed.

      Parameters
      • memberID: String

        the member id

      • reason: String

        the reason

      Returns void
    onBlockAdd
    • public void onBlockAdd(String memberID)
    • 添加黑名单

      Parameters
      • memberID: String

      Returns void
    onBlockRemoved
    • public void onBlockRemoved(String memberID)
    • 移除黑名单

      Parameters
      • memberID: String

      Returns void
    以上内容是否对您有帮助?
  • Qvm free helper
    Close