跳转到内容
本站为社区维护的非官方中文翻译,与 Cloudflare, Inc. 无关联。本站不提供账户登录,请勿在任何非官方站点输入您的 Cloudflare 账户信息。官方文档:developers.cloudflare.com

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)

这篇文档对您有帮助吗?