低代码

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

    QChatRoomServiceListener

    最近更新时间: 2022-07-11 10:03:48

    interface com.qlive.chatservice.QChatRoomServiceListener

    The interface Q chat room service listener.

    Index
    方法
    方法
    onUserJoin
    • default void onUserJoin(@NotNull() String memberID);
    • On user join.

      Parameters
      • memberID: String

        the member id

      Returns void
    onUserLeft
    • default void onUserLeft(@NotNull() String memberID);
    • On user left.

      Parameters
      • memberID: String

        the member id

      Returns void
    onReceivedC2CMsg
    • default void onReceivedC2CMsg(@NotNull() String msg, @NotNull() String fromID, @NotNull() String toID);
    • On received c 2 c msg.

      Parameters
      • msg: String

        the msg

      • fromID: String

        the from id

      • toID: String

        the to id

      Returns void
    onReceivedGroupMsg
    • default void onReceivedGroupMsg(@NotNull() String msg, @NotNull() String fromID, @NotNull() String toID);
    • On received group msg.

      Parameters
      • msg: String

        the msg

      • fromID: String

        the from id

      • toID: String

        the to id

      Returns void
    onUserKicked
    • default void onUserKicked(@NotNull() String memberID);
    • On user kicked.

      Parameters
      • memberID: String

        the member id

      Returns void
    onUserBeMuted
    • default void onUserBeMuted(@NotNull() boolean isMute, @NotNull() String memberID, @NotNull() long duration);
    • On user be muted.

      Parameters
      • isMute: boolean

        the is mute

      • memberID: String

        the member id

      • duration: long

        the duration

      Returns void
    onAdminAdd
    • default void onAdminAdd(@NotNull() String memberID);
    • On admin add.

      Parameters
      • memberID: String

        the member id

      Returns void
    onAdminRemoved
    • default void onAdminRemoved(@NotNull() String memberID, @NotNull() String reason);
    • On admin removed.

      Parameters
      • memberID: String

        the member id

      • reason: String

        the reason

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