プラグインと画面共有のタブセレクターで使うタブボタンです。
RtkActiveTabSelectorView 内の 1 つのタブを表します。
| パラメーター | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
image |
RtkImage? |
✅ | - | タブボタンのアイコン画像 |
title |
String |
❌ | "" |
タブボタンのタイトルテキスト |
id |
String |
❌ | "" |
タブボタンの一意の識別子 |
appearance |
RtkPluginScreenShareTabButtonAppearance |
❌ | - | タブボタンの外観設定 |
import RealtimeKitUI
let tabButton = RtkPluginScreenShareTabButton(
image: RtkImage(image: UIImage(systemName: "square.and.arrow.up")),
title: "Screen Share"
)import RealtimeKitUI
let tabButton = RtkPluginScreenShareTabButton(
image: RtkImage(image: UIImage(systemName: "pencil.tip")),
title: "Whiteboard",
id: "whiteboard-plugin"
)