CallCompositeLoaderProps interface
Props 的 Props 中,您可以在应用程序中使用的 OutboundCallComposite 的 Props 中实现。
包含两个可选袋:
- 扩展
-
Partial<BaseCompositeProps<CallCompositeIcons>>
属性
| call |
|
| call |
CallComposite 的选项 CallCompositeOptions 这用于配置调用复合。 |
| credential | CommunicationTokenCredential 的 CommunicationTokenCredential 进行分配。 |
| display |
本地用户的显示名称。 |
| form |
复合器件的外形规格。 |
| locator | 呼叫的定位器 |
| user |
本地用户的 UserId。 |
继承属性
| fluent |
复合的 Fluent 主题。 |
| icons | 复合的自定义图标替代。 可以提供 JSX 元素来替代默认图标。 |
| locale | 复合区域设置。 |
| on |
一个回调函数,可用于向在复合中呈现的虚拟形象提供自定义数据。 这不会影响复合中显示的 displayName。 整个复合中的 displayName 将是创建适配器时提供给适配器的内容。 将是在创建适配器时提供给适配器的内容。 |
| on |
一个回调函数,可用于为参与者列表中的参与者提供自定义菜单项。 |
| rtl | 复合是否从右向左显示。 |
属性详细信息
callAdapterOptions
callAdapterOptions?: CommonCallAdapterOptions
属性值
callCompositeOptions
credential
CommunicationTokenCredential 的 CommunicationTokenCredential 进行分配。
credential: CommunicationTokenCredential
属性值
displayName
本地用户的显示名称。
displayName: string
属性值
string
formFactor
复合器件的外形规格。
formFactor?: "mobile" | "desktop"
属性值
"mobile" | "desktop"
locator
userId
继承属性详细信息
fluentTheme
复合的 Fluent 主题。
fluentTheme?: PartialTheme | Theme
属性值
PartialTheme | Theme
继承自 Partial.fluentTheme
icons
locale
onFetchAvatarPersonaData
一个回调函数,可用于向在复合中呈现的虚拟形象提供自定义数据。
这不会影响复合中显示的 displayName。 整个复合中的 displayName 将是创建适配器时提供给适配器的内容。 将是在创建适配器时提供给适配器的内容。
onFetchAvatarPersonaData?: AvatarPersonaDataCallback
属性值
继承自 Partial.onFetchAvatarPersonaData
onFetchParticipantMenuItems
一个回调函数,可用于为参与者列表中的参与者提供自定义菜单项。
onFetchParticipantMenuItems?: ParticipantMenuItemsCallback
属性值
继承自 Partial.onFetchParticipantMenuItems
rtl
复合是否从右向左显示。
rtl?: boolean
属性值
boolean
继承自 部分.rtl