通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

属性值