跳转到内容
搜索文档

RtkParticipantVideoIndicator

最后更新 查看 MarkdownAgent 设置

显示参与者摄像头状态的视频指示器。

方法

方法 参数 描述
activate participant: RtkMeetingParticipant 将指示器绑定(binding)到参与者

使用示例

基本用法

<com.cloudflare.realtimekit.ui.view.RtkParticipantVideoIndicator
    android:id="@+id/video_indicator"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />

配合方法使用

val videoIndicator = findViewById<RtkParticipantVideoIndicator>(R.id.video_indicator)
videoIndicator.activate(participant)

这篇文档对您有帮助吗?