共用方式為


IncomingCallNotificationProps interface

來電通知元件的屬性。

屬性

acceptOptions

是否顯示 accept with video 按鈕的選項

alertText

警報文本”

avatarImage

用戶的頭像圖像的 URL

callerName

來電者姓名

onAcceptWithAudio

帶音訊接聽電話的回調

onAcceptWithVideo

通過 Video 接聽電話的回調

onDismiss

通知關閉時的回調

onReject

拒絕通話的回調

onRenderAvatar

渲染頭像的回調

personaSize

persona 硬幣的大小

strings

來電通知元件的字串。

styles

來電通知元件的樣式。

屬性詳細資料

acceptOptions

是否顯示 accept with video 按鈕的選項

acceptOptions: { showAcceptWithVideo: boolean }

屬性值

{ showAcceptWithVideo: boolean }

alertText

警報文本”

alertText?: string

屬性值

string

avatarImage

用戶的頭像圖像的 URL

avatarImage?: string

屬性值

string

callerName

來電者姓名

callerName?: string

屬性值

string

onAcceptWithAudio

帶音訊接聽電話的回調

onAcceptWithAudio: () => void

屬性值

() => void

onAcceptWithVideo

通過 Video 接聽電話的回調

onAcceptWithVideo: () => void

屬性值

() => void

onDismiss

通知關閉時的回調

onDismiss?: () => void

屬性值

() => void

onReject

拒絕通話的回調

onReject: () => void

屬性值

() => void

onRenderAvatar

渲染頭像的回調

onRenderAvatar?: () => Element

屬性值

() => Element

personaSize

persona 硬幣的大小

personaSize?: number

屬性值

number

strings

來電通知元件的字串。

strings?: IncomingCallNotificationStrings

屬性值

styles

來電通知元件的樣式。

styles?: IncomingCallNotificationStyles

屬性值