通过


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

OutboundCallCompositeLoaderProps interface

Props 的 Props 中,您可以在应用程序中使用的 OutboundCallComposite 的 Props 中实现。

包含两个可选袋:

扩展

属性

callAdapterOptions

useAzureCommunicationCallAdapter(Partial<AzureCommunicationCallAdapterArgs | AzureCommunicationOutboundCallAdapterArgs>, (adapter: CallAdapter) => Promise<CallAdapter>, (adapter: CallAdapter) => Promise<void>)此选项用于配置呼叫适配器。

callCompositeOptions

CallComposite 的选项 CallCompositeOptions 这用于配置调用复合。

credential

CommunicationTokenCredential 的 CommunicationTokenCredential 进行分配。

displayName

本地用户的显示名称。

formFactor

复合器件的外形规格。 这用于配置呼叫复合。

targetCallees

将被调用的参与者。 这可以是 either <xref:CommunicationUserIdentifier> 或 string 标识符的列表。

userId

本地用户的 UserId。

继承属性

fluentTheme

复合的 Fluent 主题。

icons

复合的自定义图标替代。 可以提供 JSX 元素来替代默认图标。

locale

复合区域设置。

onFetchAvatarPersonaData

一个回调函数,可用于向在复合中呈现的虚拟形象提供自定义数据。

这不会影响复合中显示的 displayName。 整个复合中的 displayName 将是创建适配器时提供给适配器的内容。 将是在创建适配器时提供给适配器的内容。

onFetchParticipantMenuItems

一个回调函数,可用于为参与者列表中的参与者提供自定义菜单项。

rtl

复合是否从右向左显示。

属性详细信息

callAdapterOptions

callCompositeOptions

CallComposite 的选项 CallCompositeOptions 这用于配置调用复合。

callCompositeOptions?: CallCompositeOptions

属性值

credential

CommunicationTokenCredential 的 CommunicationTokenCredential 进行分配。

credential: CommunicationTokenCredential

属性值

displayName

本地用户的显示名称。

displayName: string

属性值

string

formFactor

复合器件的外形规格。 这用于配置呼叫复合。

formFactor?: "mobile" | "desktop"

属性值

"mobile" | "desktop"

targetCallees

将被调用的参与者。 这可以是 either <xref:CommunicationUserIdentifier> 或 string 标识符的列表。

targetCallees: CommunicationIdentifier[] | string[]

属性值

userId

本地用户的 UserId。

userId: CommunicationUserIdentifier

属性值

继承属性详细信息

fluentTheme

复合的 Fluent 主题。

fluentTheme?: PartialTheme | Theme

属性值

PartialTheme | Theme

继承自 Partial.fluentTheme

icons

复合的自定义图标替代。 可以提供 JSX 元素来替代默认图标。

icons?: CallCompositeIcons

属性值

继承自 部分图标

locale

复合区域设置。

locale?: CompositeLocale

属性值

继承自 Partial.locale

onFetchAvatarPersonaData

一个回调函数,可用于向在复合中呈现的虚拟形象提供自定义数据。

这不会影响复合中显示的 displayName。 整个复合中的 displayName 将是创建适配器时提供给适配器的内容。 将是在创建适配器时提供给适配器的内容。

onFetchAvatarPersonaData?: AvatarPersonaDataCallback

属性值

继承自 Partial.onFetchAvatarPersonaData

onFetchParticipantMenuItems

一个回调函数,可用于为参与者列表中的参与者提供自定义菜单项。

onFetchParticipantMenuItems?: ParticipantMenuItemsCallback

属性值

继承自 Partial.onFetchParticipantMenuItems

rtl

复合是否从右向左显示。

rtl?: boolean

属性值

boolean

继承自 部分.rtl