IncomingCallNotificationProps interface

着信通知コンポーネントのプロパティ。

プロパティ

acceptOptions

「ビデオで同意する」ボタンを表示するかどうかのオプション

alertText

アラートテキスト」

avatarImage

ユーザーのアバター画像の URL

callerName

発信者の名前

onAcceptWithAudio

音声で通話を受け入れるコールバック

onAcceptWithVideo

ビデオで通話を受け入れるコールバック

onDismiss

通知が閉じられたときのコールバック

onReject

通話を拒否するコールバック

onRenderAvatar

アバターをレンダリングするコールバック

personaSize

ペルソナコインのサイズ

strings

着信通知コンポーネントの文字列。

styles

着信通知コンポーネントのスタイル。

プロパティの詳細

acceptOptions

「ビデオで同意する」ボタンを表示するかどうかのオプション

acceptOptions: { showAcceptWithVideo: boolean }

プロパティ値

{ showAcceptWithVideo: boolean }

alertText

アラートテキスト」

alertText?: string

プロパティ値

string

avatarImage

ユーザーのアバター画像の URL

avatarImage?: string

プロパティ値

string

callerName

発信者の名前

callerName?: string

プロパティ値

string

onAcceptWithAudio

音声で通話を受け入れるコールバック

onAcceptWithAudio: () => void

プロパティ値

() => void

onAcceptWithVideo

ビデオで通話を受け入れるコールバック

onAcceptWithVideo: () => void

プロパティ値

() => void

onDismiss

通知が閉じられたときのコールバック

onDismiss?: () => void

プロパティ値

() => void

onReject

通話を拒否するコールバック

onReject: () => void

プロパティ値

() => void

onRenderAvatar

アバターをレンダリングするコールバック

onRenderAvatar?: () => Element

プロパティ値

() => Element

personaSize

ペルソナコインのサイズ

personaSize?: number

プロパティ値

number

strings

着信通知コンポーネントの文字列。

strings?: IncomingCallNotificationStrings

プロパティ値

styles

着信通知コンポーネントのスタイル。

styles?: IncomingCallNotificationStyles

プロパティ値