允许本地用户加入网络研讨会舞台的组件。
| 方法 | 参数 | 描述 |
|---|---|---|
activate |
meeting: RealtimeKitClient |
将按钮绑定至会议状态 |
deactivate |
- | 解除按钮绑定并移除事件监听器 |
refresh |
- | 强制刷新按钮状态 |
<com.cloudflare.realtimekit.ui.view.controlbarbuttons.webinarstagetogglebutton.RtkWebinarStageToggleButton
android:id="@+id/rtk_webinar_stage_toggle"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />val stageToggleButton = findViewById<RtkWebinarStageToggleButton>(R.id.rtk_webinar_stage_toggle)
stageToggleButton.activate(meeting)