---
title: RtkWebinarControlBarView
description: API reference for RtkWebinarControlBarView component (Android Library)
image: https://developers.cloudflare.com/dev-products-preview.png
---

[Skip to content](#%5Ftop) 

Was this helpful?

YesNo

[ Edit page ](https://github.com/cloudflare/cloudflare-docs/edit/production/src/content/docs/realtime/realtimekit/ui-kit/api-reference/android/webinar-control-bar.mdx) [ Report issue ](https://github.com/cloudflare/cloudflare-docs/issues/new/choose) 

Copy page

# RtkWebinarControlBarView

A pre-built control bar for webinar meetings. Contains mic toggle, camera toggle, webinar stage toggle, more toggle, and leave button.

## Methods

| Method                   | Parameters                 | Description                                       |
| ------------------------ | -------------------------- | ------------------------------------------------- |
| activate                 | meeting: RealtimeKitClient | Bind the control bar to the meeting state         |
| deactivate               | \-                         | Unbind the control bar and remove event listeners |
| refreshStageToggleButton | \-                         | Force a refresh of the stage toggle button state  |

## Usage Examples

### Basic Usage

```

<com.cloudflare.realtimekit.ui.view.controlbars.RtkWebinarControlBarView

    android:id="@+id/rtk_webinar_control_bar"

    android:layout_width="match_parent"

    android:layout_height="wrap_content" />


```

### With Methods

Kotlin

```

val controlBar = findViewById<RtkWebinarControlBarView>(R.id.rtk_webinar_control_bar)

controlBar.activate(meeting)


```

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/realtime/","name":"Realtime"}},{"@type":"ListItem","position":3,"item":{"@id":"/realtime/realtimekit/","name":"RealtimeKit"}},{"@type":"ListItem","position":4,"item":{"@id":"/realtime/realtimekit/ui-kit/","name":"Build using UI Kit"}},{"@type":"ListItem","position":5,"item":{"@id":"/realtime/realtimekit/ui-kit/api-reference/","name":"Component Reference"}},{"@type":"ListItem","position":6,"item":{"@id":"/realtime/realtimekit/ui-kit/api-reference/android/","name":"Android"}},{"@type":"ListItem","position":7,"item":{"@id":"/realtime/realtimekit/ui-kit/api-reference/android/webinar-control-bar/","name":"RtkWebinarControlBarView"}}]}
```
