IncomingCallNotificationProps interface
來電通知元件的屬性。
屬性
| accept |
是否顯示 accept with video 按鈕的選項 |
| alert |
警報文本” |
| avatar |
用戶的頭像圖像的 URL |
| caller |
來電者姓名 |
| on |
帶音訊接聽電話的回調 |
| on |
通過 Video 接聽電話的回調 |
| on |
通知關閉時的回調 |
| on |
拒絕通話的回調 |
| on |
渲染頭像的回調 |
| persona |
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