RtkPluginScreenShareTabButton
Initializer parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
image |
RtkImage? |
✅ | - | The icon image for the tab button |
title |
String |
❌ | "" |
The title text for the tab button |
id |
String |
❌ | "" |
A unique identifier for the tab button |
appearance |
RtkPluginScreenShareTabButtonAppearance |
❌ | - | Appearance configuration for the tab button |
Usage Examples
Basic Usage
import RealtimeKitUI
let tabButton = RtkPluginScreenShareTabButton(
image: RtkImage(image: UIImage(systemName: "square.and.arrow.up")),
title: "Screen Share"
)
With identifier
import RealtimeKitUI
let tabButton = RtkPluginScreenShareTabButton(
image: RtkImage(image: UIImage(systemName: "pencil.tip")),
title: "Whiteboard",
id: "whiteboard-plugin"
)
这篇文档对你有帮助吗?
谢谢你的反馈!