CallWithChatCompositeLoaderProps interface
可在應用程式中使用的 CallWithChatComposite 的 props。
包含兩個可選袋:
- adapterOptions:AzureCommunicationCallAdapterOptions 的選項
- callCompositeOptions:CallWithChatCompositeCallWithChatCompositeOptions 的選項
- Extends
-
Partial<BaseCompositeProps<CallWithChatCompositeIcons>>
屬性
| call |
AzureCommunicationCallAdapterOptions 的選項 這用於配置呼叫適配器。 |
| call |
CallWithChatComposite 的選項 CallWithChatCompositeOptions 這用於配置呼叫複合。 |
| credential | CommunicationTokenCredential 的 CommunicationTokenCredential 進行分配。 |
| display |
本地用戶的顯示名稱。 |
| endpoint | Azure 通訊服務終結點。 這用於令牌和加入聊天線程。 |
| form |
複合器件的外形規格。 |
| locator | 呼叫和聊天線程的定位器。 這用於加入通話和聊天線程。 |
| user |
本地使用者的UserId。 |
繼承的屬性
| fluent |
複合的 Fluent 主題。 |
| icons | 複合的自定義圖示覆寫。 您可以提供 JSX 元素來覆寫預設圖示。 |
| locale | 複合的地區設定。 |
| on |
回呼函式,可用來將自定義數據提供給在複合中轉譯的虛擬人偶。 這不會影響複合中顯示的 displayName。 整個複合的 displayName 將會在建立配接器時提供給配接器。 將會是建立配接器時提供給配接器的內容。 |
| on |
回呼函式,可用來為參與者清單中的參與者提供自定義功能表項。 |
| rtl | 複合是否由右至左顯示。 |
屬性詳細資料
callAdapterOptions
AzureCommunicationCallAdapterOptions 的選項 這用於配置呼叫適配器。
callAdapterOptions?: CommonCallAdapterOptions
屬性值
callWithChatCompositeOptions
CallWithChatComposite 的選項 CallWithChatCompositeOptions 這用於配置呼叫複合。
callWithChatCompositeOptions?: CallWithChatCompositeOptions
屬性值
credential
CommunicationTokenCredential 的 CommunicationTokenCredential 進行分配。
credential: CommunicationTokenCredential
屬性值
displayName
本地用戶的顯示名稱。
displayName: string
屬性值
string
endpoint
Azure 通訊服務終結點。 這用於令牌和加入聊天線程。
endpoint: string
屬性值
string
formFactor
複合器件的外形規格。
formFactor?: "mobile" | "desktop"
屬性值
"mobile" | "desktop"
locator
userId
繼承的屬性詳細資料
fluentTheme
複合的 Fluent 主題。
fluentTheme?: PartialTheme | Theme
屬性值
PartialTheme | Theme
繼承自 Partial.fluentTheme
icons
複合的自定義圖示覆寫。 您可以提供 JSX 元素來覆寫預設圖示。
icons?: CallWithChatCompositeIcons
屬性值
繼承自 部分圖示
locale
onFetchAvatarPersonaData
回呼函式,可用來將自定義數據提供給在複合中轉譯的虛擬人偶。
這不會影響複合中顯示的 displayName。 整個複合的 displayName 將會在建立配接器時提供給配接器。 將會是建立配接器時提供給配接器的內容。
onFetchAvatarPersonaData?: AvatarPersonaDataCallback
屬性值
繼承自 Partial.onFetchAvatarPersonaData
onFetchParticipantMenuItems
回呼函式,可用來為參與者清單中的參與者提供自定義功能表項。
onFetchParticipantMenuItems?: ParticipantMenuItemsCallback
屬性值
繼承自 Partial.onFetchParticipantMenuItems
rtl
複合是否由右至左顯示。
rtl?: boolean
屬性值
boolean
繼承自 部分.rtl