Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

RtkRecordingView

最終更新 Markdown で表示Agent セットアップ

ミーティングが録画中のときに表示される、点滅する録画インジケーターです。 赤いドットと、設定可能なテキストおよび画像を表示します。

イニシャライザーのパラメーター

パラメーター 型 必須 デフォルト 説明
meeting RealtimeKitClient ✅ - 進行中のミーティング向けの RealtimeKit クライアントインスタンス
title String ❌ "Rec" 録画インジケーターの横に表示するテキストラベル
image RtkImage? ❌ nil 録画インジケーター用のカスタム画像
appearance RtkRecordingViewAppearance ❌ - 録画インジケーターの外観設定

メソッド

メソッド 戻り値の型 説明
blinking(start: Bool) Void 録画インジケーターの点滅アニメーションを開始または停止します

使用例

基本的な使い方

import RealtimeKitUI

let recordingView = RtkRecordingView(meeting: rtkClient)
view.addSubview(recordingView)

カスタムタイトルを指定する場合

import RealtimeKitUI

let recordingView = RtkRecordingView(
    meeting: rtkClient,
    title: "Recording"
)
view.addSubview(recordingView)

役に立ちましたか?