Skip to main content

RtkLeaveButton

A button which toggles visilibility of the leave confirmation dialog.

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

To activate RtkLeaveButton, do as follows:

val leaveButton = findViewById(R.id.rtk_leave_button)
leaveButton.activate(meeting)