Skip to content

RtkLeaveButton

A button which toggles visibility of the leave confirmation dialog.

Methods

MethodParametersDescription
activatemeeting: RealtimeKitClientBind the button to the meeting state

Usage Examples

Basic Usage

<com.cloudflare.realtimekit.ui.view.controlbarbuttons.RtkLeaveButton
android:id="@+id/rtk_leave_button"
android:layout_width="48dp"
android:layout_height="48dp" />

With Methods

Kotlin
val leaveButton = findViewById<RtkLeaveButton>(R.id.rtk_leave_button)
leaveButton.activate(meeting)