Skip to content

RtkLeaveButton

Last updated View as MarkdownAgent setup

A button which toggles visibility of the leave confirmation dialog.

Methods

Method Parameters Description
activate meeting: RealtimeKitClient Bind 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

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

Was this helpful?