CallCompositeLoaderProps interface
Props 的 Props 中,您可以在應用程式中使用的 OutboundCallComposite 的 Props 中實現。
包含兩個可選袋:
- Extends
-
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