@azure/communication-react 1.5.1-beta.2 → 1.5.1-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.beta.md +56 -1
- package/CHANGELOG.json +494 -0
- package/README.md +1 -1
- package/dist/communication-react.d.ts +476 -254
- package/dist/dist-cjs/communication-react/index.js +5974 -4543
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +13 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +36 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +49 -0
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +53 -0
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +12 -4
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +22 -32
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +3 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +3 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js +2 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +68 -22
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +8 -3
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +81 -30
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +57 -0
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +2 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +19 -21
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +18 -0
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +38 -0
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +6 -0
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +17 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +0 -9
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +3 -6
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +2 -25
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +7 -0
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +10 -0
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/index.js +2 -0
- package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +58 -4
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/constants.d.ts +4 -0
- package/dist/dist-esm/chat-component-bindings/src/utils/constants.js +4 -0
- package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +32 -26
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +5 -1
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +6 -1
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +1 -0
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +7 -2
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +0 -4
- package/dist/dist-esm/react-components/src/components/CameraButton.js +0 -14
- package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Caption.d.ts +21 -0
- package/dist/dist-esm/react-components/src/components/Caption.js +33 -0
- package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +32 -30
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +37 -0
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +88 -0
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +16 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +19 -16
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +4 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +11 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +38 -20
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +14 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +96 -11
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +1 -0
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +13 -0
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +5 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/GridLayout.js +1 -1
- package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +36 -4
- package/dist/dist-esm/react-components/src/components/MessageThread.js +88 -42
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +1 -1
- package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +10 -2
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +70 -0
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +52 -0
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +4 -1
- package/dist/dist-esm/react-components/src/components/index.js +7 -0
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.d.ts +33 -0
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +60 -0
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.d.ts +34 -0
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js +86 -0
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/Common.style.d.ts +14 -0
- package/dist/dist-esm/react-components/src/components/styles/Common.style.js +16 -0
- package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +28 -0
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +1 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +6 -4
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/utils.js +4 -0
- package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +2 -0
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +5 -2
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +3 -1
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts +1 -1
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +5 -1
- package/dist/dist-esm/react-components/src/theming/icons.js +18 -4
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +48 -0
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js +4 -0
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -0
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +21 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/index.d.ts +1 -0
- package/dist/dist-esm/react-components/src/types/index.js +1 -0
- package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +2 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +65 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +13 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +67 -30
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +43 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +95 -19
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.d.ts +5 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +9 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +13 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +41 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +5 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +20 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.d.ts +20 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +21 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +5 -87
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +15 -75
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +11 -15
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +17 -5
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +51 -17
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +24 -14
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +5 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +15 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +6 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +11 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +19 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +68 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +60 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +107 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +38 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +30 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +286 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common/ControlBar}/CustomButton.d.ts +19 -16
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common/ControlBar}/CustomButton.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/components → common/ControlBar}/DesktopMoreButton.d.ts +4 -2
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +193 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common/ControlBar}/PeopleButton.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common/ControlBar}/PeopleButton.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/components → common/Drawer}/MoreDrawer.d.ts +15 -2
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/components → common/Drawer}/MoreDrawer.js +109 -5
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js +24 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common/Drawer}/PreparedMoreDrawer.d.ts +3 -2
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js +26 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.d.ts +20 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js +55 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js +25 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/constants.d.ts +9 -0
- package/dist/dist-esm/react-composites/src/composites/common/constants.js +11 -0
- package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +7 -2
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +4 -10
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +165 -0
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js +4 -0
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/utils.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/common/utils.js +4 -0
- package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/index.d.ts +3 -0
- package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +66 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +66 -1
- package/package.json +14 -15
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.d.ts +0 -29
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js +0 -54
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/CaptionsBanner.style.d.ts +0 -13
- package/dist/dist-esm/react-components/src/components/styles/CaptionsBanner.style.js +0 -35
- package/dist/dist-esm/react-components/src/components/styles/CaptionsBanner.style.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts +0 -28
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +0 -194
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeopleButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.js +0 -22
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js +0 -86
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +0 -11
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +0 -19
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +0 -1
@@ -19,8 +19,6 @@
|
|
19
19
|
|
20
20
|
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
21
21
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
22
|
-
import { BackgroundBlurConfig } from '@azure/communication-calling-effects';
|
23
|
-
import { BackgroundReplacementConfig } from '@azure/communication-calling-effects';
|
24
22
|
import { Call } from '@azure/communication-calling';
|
25
23
|
import { CallAgent } from '@azure/communication-calling';
|
26
24
|
import { CallClient } from '@azure/communication-calling';
|
@@ -30,6 +28,7 @@ import { CallEndReason } from '@azure/communication-calling';
|
|
30
28
|
import { CallerInfo } from '@azure/communication-calling';
|
31
29
|
import { CallKind } from '@azure/communication-calling';
|
32
30
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
31
|
+
import { CaptionsResultType } from '@azure/communication-calling';
|
33
32
|
import { ChatClient } from '@azure/communication-chat';
|
34
33
|
import { ChatClientOptions } from '@azure/communication-chat';
|
35
34
|
import { ChatMessage as ChatMessage_2 } from '@azure/communication-chat';
|
@@ -66,7 +65,6 @@ import { IStyleFunctionOrObject } from '@fluentui/react';
|
|
66
65
|
import { ITextFieldStyles } from '@fluentui/react';
|
67
66
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
68
67
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
69
|
-
import { LocalVideoStream } from '@azure/communication-calling';
|
70
68
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
71
69
|
import { MediaStreamType } from '@azure/communication-calling';
|
72
70
|
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
@@ -88,6 +86,7 @@ import { RoomCallLocator } from '@azure/communication-calling';
|
|
88
86
|
import { ScalingMode } from '@azure/communication-calling';
|
89
87
|
import { SendMessageOptions } from '@azure/communication-chat';
|
90
88
|
import { StartCallOptions } from '@azure/communication-calling';
|
89
|
+
import { StartCaptionsOptions } from '@azure/communication-calling';
|
91
90
|
import { TeamsCall } from '@azure/communication-calling';
|
92
91
|
import { TeamsCallAgent } from '@azure/communication-calling';
|
93
92
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
@@ -96,7 +95,6 @@ import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
|
96
95
|
import { UnknownIdentifier } from '@azure/communication-common';
|
97
96
|
import { UnknownIdentifierKind } from '@azure/communication-common';
|
98
97
|
import { VideoDeviceInfo } from '@azure/communication-calling';
|
99
|
-
import { VideoEffectName } from '@azure/communication-calling';
|
100
98
|
import { VideoStreamRenderer } from '@azure/communication-calling';
|
101
99
|
import { VideoStreamRendererView } from '@azure/communication-calling';
|
102
100
|
|
@@ -217,6 +215,13 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
217
215
|
*/
|
218
216
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
219
217
|
|
218
|
+
/**
|
219
|
+
* @beta
|
220
|
+
*/
|
221
|
+
export declare interface AttachmentDownloadResult {
|
222
|
+
blobUrl: string;
|
223
|
+
}
|
224
|
+
|
220
225
|
/**
|
221
226
|
* Custom data attributes for displaying avatar for a user.
|
222
227
|
*
|
@@ -323,6 +328,7 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
|
|
323
328
|
callClient: StatefulCallClient;
|
324
329
|
chatClient: StatefulChatClient;
|
325
330
|
chatThreadClient: ChatThreadClient;
|
331
|
+
options?: AzureCommunicationChatAdapterOptions;
|
326
332
|
};
|
327
333
|
|
328
334
|
/**
|
@@ -338,6 +344,14 @@ export declare type AzureCommunicationChatAdapterArgs = {
|
|
338
344
|
threadId: string;
|
339
345
|
};
|
340
346
|
|
347
|
+
/**
|
348
|
+
* Configuration options to include when creating AzureCommunicationChatAdapter.
|
349
|
+
* @beta
|
350
|
+
*/
|
351
|
+
export declare type AzureCommunicationChatAdapterOptions = {
|
352
|
+
credential?: CommunicationTokenCredential;
|
353
|
+
};
|
354
|
+
|
341
355
|
/**
|
342
356
|
* Properties common to all composites exported from this library.
|
343
357
|
*
|
@@ -393,6 +407,26 @@ export declare interface BaseCustomStyles {
|
|
393
407
|
root?: IStyle;
|
394
408
|
}
|
395
409
|
|
410
|
+
/**
|
411
|
+
* Content blocked message type.
|
412
|
+
*
|
413
|
+
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
414
|
+
*
|
415
|
+
* @beta
|
416
|
+
*/
|
417
|
+
export declare interface BlockedMessage extends MessageCommon {
|
418
|
+
messageType: 'blocked';
|
419
|
+
warningText?: string;
|
420
|
+
linkText?: string;
|
421
|
+
link?: string;
|
422
|
+
deletedOn?: Date;
|
423
|
+
senderId?: string;
|
424
|
+
senderDisplayName?: string;
|
425
|
+
status?: MessageStatus;
|
426
|
+
attached?: MessageAttachedStatus;
|
427
|
+
mine?: boolean;
|
428
|
+
}
|
429
|
+
|
396
430
|
/**
|
397
431
|
* @beta
|
398
432
|
* Props for BrowserPermissionDeniedIOS component.
|
@@ -714,23 +748,24 @@ export declare interface CallAdapterCallOperations {
|
|
714
748
|
*/
|
715
749
|
allowUnsupportedBrowserVersion(): void;
|
716
750
|
/**
|
717
|
-
*
|
718
|
-
*
|
719
|
-
* @beta
|
751
|
+
* Function to Start captions
|
752
|
+
* @param options - options for start captions
|
720
753
|
*/
|
721
|
-
|
754
|
+
startCaptions(options?: StartCaptionsOptions): Promise<void>;
|
722
755
|
/**
|
723
|
-
*
|
724
|
-
*
|
725
|
-
* @beta
|
756
|
+
* Function to set caption language
|
757
|
+
* @param language - language set for caption
|
726
758
|
*/
|
727
|
-
|
759
|
+
setCaptionLanguage(language: string): Promise<void>;
|
728
760
|
/**
|
729
|
-
*
|
730
|
-
*
|
731
|
-
* @beta
|
761
|
+
* Function to set spoken language
|
762
|
+
* @param language - spoken language
|
732
763
|
*/
|
733
|
-
|
764
|
+
setSpokenLanguage(language: string): Promise<void>;
|
765
|
+
/**
|
766
|
+
* Funtion to stop captions
|
767
|
+
*/
|
768
|
+
stopCaptions(): Promise<void>;
|
734
769
|
}
|
735
770
|
|
736
771
|
/**
|
@@ -768,10 +803,6 @@ export declare type CallAdapterClientState = {
|
|
768
803
|
* control bar with the CallComposite.
|
769
804
|
*/
|
770
805
|
cameraStatus?: 'On' | 'Off';
|
771
|
-
/**
|
772
|
-
* Default set of background images for background replacement effect.
|
773
|
-
*/
|
774
|
-
videoBackgroundImages?: VideoBackgroundImage[];
|
775
806
|
};
|
776
807
|
|
777
808
|
/**
|
@@ -933,6 +964,14 @@ export declare interface CallAdapterSubscribers {
|
|
933
964
|
* Subscribe function for 'error' event.
|
934
965
|
*/
|
935
966
|
on(event: 'error', listener: (e: AdapterError) => void): void;
|
967
|
+
/**
|
968
|
+
* Subscribe function for 'captionsReceived' event.
|
969
|
+
*/
|
970
|
+
on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
971
|
+
/**
|
972
|
+
* Subscribe function for 'isCaptionsActiveChanged' event.
|
973
|
+
*/
|
974
|
+
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
936
975
|
/**
|
937
976
|
* Unsubscribe function for 'participantsJoined' event.
|
938
977
|
*/
|
@@ -981,6 +1020,14 @@ export declare interface CallAdapterSubscribers {
|
|
981
1020
|
* Unsubscribe function for 'error' event.
|
982
1021
|
*/
|
983
1022
|
off(event: 'error', listener: (e: AdapterError) => void): void;
|
1023
|
+
/**
|
1024
|
+
* Unsubscribe function for 'captionsReceived' event.
|
1025
|
+
*/
|
1026
|
+
off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
1027
|
+
/**
|
1028
|
+
* Unsubscribe function for 'isCaptionsActiveChanged' event.
|
1029
|
+
*/
|
1030
|
+
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
984
1031
|
}
|
985
1032
|
|
986
1033
|
/**
|
@@ -1151,6 +1198,7 @@ export declare const CallComposite: (props: CallCompositeProps) => JSX.Element;
|
|
1151
1198
|
* @public
|
1152
1199
|
*/
|
1153
1200
|
export declare type CallCompositeIcons = {
|
1201
|
+
ControlBarPeopleButton?: JSX.Element;
|
1154
1202
|
ControlButtonCameraOff?: JSX.Element;
|
1155
1203
|
ControlButtonCameraOn?: JSX.Element;
|
1156
1204
|
ControlButtonEndCall?: JSX.Element;
|
@@ -1662,85 +1710,93 @@ export declare interface CallCompositeStrings {
|
|
1662
1710
|
* string to be used to announce when multiple unnamed participants have left at the same time.
|
1663
1711
|
*/
|
1664
1712
|
manyUnnamedParticipantsLeft: string;
|
1665
|
-
}
|
1666
|
-
|
1667
|
-
/**
|
1668
|
-
* Control bar display type for {@link CallComposite}.
|
1669
|
-
*
|
1670
|
-
* @public
|
1671
|
-
*/
|
1672
|
-
export declare type CallControlDisplayType = 'default' | 'compact';
|
1673
|
-
|
1674
|
-
/**
|
1675
|
-
* Customization options for the control bar in calling experience.
|
1676
|
-
*
|
1677
|
-
* @public
|
1678
|
-
*/
|
1679
|
-
export declare type CallControlOptions = {
|
1680
1713
|
/**
|
1681
|
-
*
|
1682
|
-
* `'compact'` display type will decreases the size of buttons and hide the labels.
|
1683
|
-
*
|
1684
|
-
* @remarks
|
1685
|
-
* If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
|
1686
|
-
*
|
1687
|
-
* @defaultValue 'default'
|
1714
|
+
* string to be used to open live captions contextual menu
|
1688
1715
|
*/
|
1689
|
-
|
1716
|
+
liveCaptionsLabel?: string;
|
1690
1717
|
/**
|
1691
|
-
*
|
1692
|
-
* @defaultValue true
|
1718
|
+
* label for opening captions setting modal
|
1693
1719
|
*/
|
1694
|
-
|
1695
|
-
disabled: boolean;
|
1696
|
-
};
|
1720
|
+
captionsSettingsLabel?: string;
|
1697
1721
|
/**
|
1698
|
-
*
|
1699
|
-
* @defaultValue true
|
1722
|
+
* string to be used to start captions
|
1700
1723
|
*/
|
1701
|
-
|
1724
|
+
startCaptionsButtonOnLabel?: string;
|
1702
1725
|
/**
|
1703
|
-
*
|
1704
|
-
* @defaultValue true
|
1726
|
+
* string to be used to stop captions
|
1705
1727
|
*/
|
1706
|
-
|
1707
|
-
disabled: boolean;
|
1708
|
-
};
|
1728
|
+
startCaptionsButtonOffLabel?: string;
|
1709
1729
|
/**
|
1710
|
-
*
|
1711
|
-
* @defaultValue true
|
1730
|
+
* tooltip string to be used to show captions is on
|
1712
1731
|
*/
|
1713
|
-
|
1714
|
-
disabled: boolean;
|
1715
|
-
};
|
1732
|
+
startCaptionsButtonTooltipOnContent?: string;
|
1716
1733
|
/**
|
1717
|
-
*
|
1718
|
-
* @defaultValue true
|
1734
|
+
*tooltip string to be used to show captions is off
|
1719
1735
|
*/
|
1720
|
-
|
1721
|
-
disabled: boolean;
|
1722
|
-
};
|
1736
|
+
startCaptionsButtonTooltipOffContent?: string;
|
1723
1737
|
/**
|
1724
|
-
*
|
1725
|
-
* @defaultValue true
|
1738
|
+
* captions setting modal title
|
1726
1739
|
*/
|
1727
|
-
|
1728
|
-
disabled: boolean;
|
1729
|
-
};
|
1740
|
+
captionsSettingsModalTitle?: string;
|
1730
1741
|
/**
|
1731
|
-
*
|
1732
|
-
* @defaultValue true
|
1742
|
+
* label for dropdown inside captions setting modal
|
1733
1743
|
*/
|
1734
|
-
|
1744
|
+
captionsSettingsDropdownLabel?: string;
|
1735
1745
|
/**
|
1736
|
-
*
|
1737
|
-
*
|
1738
|
-
* @beta
|
1746
|
+
* text under captions setting dropdown indicating what the dropdown is for
|
1739
1747
|
*/
|
1740
|
-
|
1741
|
-
|
1748
|
+
captionsSettingsDropdownInfoText?: string;
|
1749
|
+
/**
|
1750
|
+
* confirm button label in captions setting modal
|
1751
|
+
*/
|
1752
|
+
captionsSettingsConfirmButtonLabel?: string;
|
1753
|
+
/**
|
1754
|
+
* cancel button label in captions setting modal
|
1755
|
+
*/
|
1756
|
+
captionsSettingsCancelButtonLabel?: string;
|
1757
|
+
/**
|
1758
|
+
* arial label for captions setting modal
|
1759
|
+
*/
|
1760
|
+
captionsSettingsModalAriaLabel?: string;
|
1761
|
+
/**
|
1762
|
+
* arial label for captions setting modal close button
|
1763
|
+
*/
|
1764
|
+
captionsSettingsCloseModalButtonAriaLabel?: string;
|
1765
|
+
/**
|
1766
|
+
* label for more button inside captions banner
|
1767
|
+
*/
|
1768
|
+
captionsBannerMoreButtonCallingLabel?: string;
|
1769
|
+
/**
|
1770
|
+
* arial label for more button inside captions banner
|
1771
|
+
*/
|
1772
|
+
captionsBannerMoreButtonTooltip?: string;
|
1773
|
+
/**
|
1774
|
+
* list of key value pairs that pairs language code to language names
|
1775
|
+
*/
|
1776
|
+
captionsAvailableLanguageStrings?: CaptionsAvailableLanguageStrings;
|
1777
|
+
}
|
1778
|
+
|
1779
|
+
/**
|
1780
|
+
* Control bar display type for {@link CallComposite}.
|
1781
|
+
*
|
1782
|
+
* @public
|
1783
|
+
*/
|
1784
|
+
export declare type CallControlDisplayType = 'default' | 'compact';
|
1785
|
+
|
1786
|
+
/**
|
1787
|
+
* Customization options for the control bar in calling experience.
|
1788
|
+
*
|
1789
|
+
* @public
|
1790
|
+
*/
|
1791
|
+
export declare type CallControlOptions = CommonCallControlOptions & {
|
1792
|
+
/**
|
1793
|
+
* Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
|
1794
|
+
* @defaultValue true
|
1795
|
+
*/
|
1796
|
+
participantsButton?: boolean | {
|
1742
1797
|
disabled: boolean;
|
1743
1798
|
};
|
1799
|
+
legacyControlBarExperience?: boolean;
|
1744
1800
|
};
|
1745
1801
|
|
1746
1802
|
/**
|
@@ -1802,7 +1858,7 @@ export declare type CallErrors = {
|
|
1802
1858
|
*
|
1803
1859
|
* @public
|
1804
1860
|
*/
|
1805
|
-
export declare type CallErrorTarget = 'Call.addParticipant' |
|
1861
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll';
|
1806
1862
|
|
1807
1863
|
/**
|
1808
1864
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -1978,6 +2034,10 @@ export declare interface CallState {
|
|
1978
2034
|
* Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
|
1979
2035
|
*/
|
1980
2036
|
transcription: TranscriptionCallFeature;
|
2037
|
+
/**
|
2038
|
+
* Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
|
2039
|
+
*/
|
2040
|
+
captionsFeature: CaptionsCallFeatureState;
|
1981
2041
|
/**
|
1982
2042
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
|
1983
2043
|
*/
|
@@ -2269,6 +2329,9 @@ export declare interface CallWithChatAdapterManagement {
|
|
2269
2329
|
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2270
2330
|
/** @beta */
|
2271
2331
|
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
2332
|
+
downloadAttachments: (options: {
|
2333
|
+
attachmentUrls: string[];
|
2334
|
+
}) => Promise<AttachmentDownloadResult[]>;
|
2272
2335
|
/**
|
2273
2336
|
* Puts the Call in a Localhold.
|
2274
2337
|
*
|
@@ -2299,23 +2362,24 @@ export declare interface CallWithChatAdapterManagement {
|
|
2299
2362
|
*/
|
2300
2363
|
allowUnsupportedBrowserVersion(): void;
|
2301
2364
|
/**
|
2302
|
-
*
|
2303
|
-
*
|
2304
|
-
* @beta
|
2365
|
+
* Function to Start captions
|
2366
|
+
* @param options - options for start captions
|
2305
2367
|
*/
|
2306
|
-
|
2368
|
+
startCaptions(options?: StartCaptionsOptions): Promise<void>;
|
2307
2369
|
/**
|
2308
|
-
*
|
2309
|
-
*
|
2310
|
-
* @beta
|
2370
|
+
* Function to set caption language
|
2371
|
+
* @param language - language set for caption
|
2311
2372
|
*/
|
2312
|
-
|
2373
|
+
setCaptionLanguage(language: string): Promise<void>;
|
2313
2374
|
/**
|
2314
|
-
*
|
2315
|
-
*
|
2316
|
-
* @beta
|
2375
|
+
* Function to set spoken language
|
2376
|
+
* @param language - spoken language
|
2317
2377
|
*/
|
2318
|
-
|
2378
|
+
setSpokenLanguage(language: string): Promise<void>;
|
2379
|
+
/**
|
2380
|
+
* Funtion to stop captions
|
2381
|
+
*/
|
2382
|
+
stopCaptions(): Promise<void>;
|
2319
2383
|
}
|
2320
2384
|
|
2321
2385
|
/**
|
@@ -2343,6 +2407,8 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2343
2407
|
on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
2344
2408
|
on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
2345
2409
|
on(event: 'callError', listener: (e: AdapterError) => void): void;
|
2410
|
+
on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
2411
|
+
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
2346
2412
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
2347
2413
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
2348
2414
|
off(event: 'callIdChanged', listener: CallIdChangedListener): void;
|
@@ -2354,6 +2420,8 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2354
2420
|
off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
2355
2421
|
off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
2356
2422
|
off(event: 'callError', listener: (e: AdapterError) => void): void;
|
2423
|
+
off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
2424
|
+
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
2357
2425
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
2358
2426
|
on(event: 'messageSent', listener: MessageSentListener): void;
|
2359
2427
|
on(event: 'messageRead', listener: MessageReadListener): void;
|
@@ -2666,6 +2734,18 @@ export declare interface CallWithChatCompositeStrings {
|
|
2666
2734
|
* Only used with `mobileView` set to `true`.
|
2667
2735
|
*/
|
2668
2736
|
moreDrawerSpeakerMenuTitle: string;
|
2737
|
+
/**
|
2738
|
+
* Title for the captions sub-menu in more button drawer.
|
2739
|
+
*
|
2740
|
+
* Only used with `mobileView` set to `true`.
|
2741
|
+
*/
|
2742
|
+
moreDrawerCaptionsMenuTitle: string;
|
2743
|
+
/**
|
2744
|
+
* Title for the spoken language sub-menu in more button drawer.
|
2745
|
+
*
|
2746
|
+
* Only used with `mobileView` set to `true`.
|
2747
|
+
*/
|
2748
|
+
moreDrawerSpokenLanguageMenuTitle: string;
|
2669
2749
|
/**
|
2670
2750
|
* {@Link CallWithChatComposite} control bar More button label
|
2671
2751
|
*/
|
@@ -2757,47 +2837,11 @@ export declare interface CallWithChatCompositeStrings {
|
|
2757
2837
|
}
|
2758
2838
|
|
2759
2839
|
/**
|
2760
|
-
*
|
2840
|
+
* Customization options for the control bar in calling with chat experience.
|
2761
2841
|
*
|
2762
2842
|
* @public
|
2763
2843
|
*/
|
2764
|
-
export declare interface CallWithChatControlOptions {
|
2765
|
-
/**
|
2766
|
-
* {@link CallControlDisplayType} to change how the call controls are displayed.
|
2767
|
-
* `'compact'` display type will decreases the size of buttons and hide the labels.
|
2768
|
-
*
|
2769
|
-
* @remarks
|
2770
|
-
* If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
|
2771
|
-
*
|
2772
|
-
* @defaultValue 'default'
|
2773
|
-
*/
|
2774
|
-
displayType?: CallControlDisplayType;
|
2775
|
-
/**
|
2776
|
-
* Show or Hide Microphone button during a call.
|
2777
|
-
* @defaultValue true
|
2778
|
-
*/
|
2779
|
-
microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
2780
|
-
disabled: boolean;
|
2781
|
-
};
|
2782
|
-
/**
|
2783
|
-
* Show or Hide Camera Button during a call
|
2784
|
-
* @defaultValue true
|
2785
|
-
*/
|
2786
|
-
cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
2787
|
-
disabled: boolean;
|
2788
|
-
};
|
2789
|
-
/**
|
2790
|
-
* Show, Hide or Disable the screen share button during a call.
|
2791
|
-
* @defaultValue true
|
2792
|
-
*/
|
2793
|
-
screenShareButton?: boolean | {
|
2794
|
-
disabled: boolean;
|
2795
|
-
};
|
2796
|
-
/**
|
2797
|
-
* Show or Hide EndCall button during a call.
|
2798
|
-
* @defaultValue true
|
2799
|
-
*/
|
2800
|
-
endCallButton?: boolean;
|
2844
|
+
export declare interface CallWithChatControlOptions extends CommonCallControlOptions {
|
2801
2845
|
/**
|
2802
2846
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
2803
2847
|
* @defaultValue true
|
@@ -2805,29 +2849,6 @@ export declare interface CallWithChatControlOptions {
|
|
2805
2849
|
chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
2806
2850
|
disabled: boolean;
|
2807
2851
|
};
|
2808
|
-
/**
|
2809
|
-
* Show or hide the people button in the call-with-chat composite control bar.
|
2810
|
-
* @defaultValue true
|
2811
|
-
*/
|
2812
|
-
peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
2813
|
-
disabled: boolean;
|
2814
|
-
};
|
2815
|
-
/**
|
2816
|
-
* Inject custom buttons in the call controls.
|
2817
|
-
*
|
2818
|
-
* @beta
|
2819
|
-
*/
|
2820
|
-
onFetchCustomButtonProps?: CustomCallWithChatControlButtonCallback[];
|
2821
|
-
/**
|
2822
|
-
* Show or hide the more button in the call-with-chat control bar.
|
2823
|
-
*/
|
2824
|
-
moreButton?: boolean;
|
2825
|
-
/**
|
2826
|
-
* Show or hide the hold button in the bottom sheet drawer
|
2827
|
-
*/
|
2828
|
-
holdButton?: boolean | {
|
2829
|
-
disabled: boolean;
|
2830
|
-
};
|
2831
2852
|
}
|
2832
2853
|
|
2833
2854
|
/**
|
@@ -2835,7 +2856,7 @@ export declare interface CallWithChatControlOptions {
|
|
2835
2856
|
*
|
2836
2857
|
* @public
|
2837
2858
|
*/
|
2838
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
2859
|
+
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
2839
2860
|
|
2840
2861
|
/**
|
2841
2862
|
* @beta
|
@@ -2928,10 +2949,6 @@ export declare interface CameraButtonProps extends ControlBarButtonProps {
|
|
2928
2949
|
* Styles for {@link CameraButton} and the device selection flyout.
|
2929
2950
|
*/
|
2930
2951
|
styles?: Partial<CameraButtonStyles>;
|
2931
|
-
/**
|
2932
|
-
* Callback when a effects is clicked
|
2933
|
-
*/
|
2934
|
-
onShowVideoEffectsPicker?: (showVideoEffectsOptions: boolean) => void;
|
2935
2952
|
}
|
2936
2953
|
|
2937
2954
|
/**
|
@@ -3043,6 +3060,142 @@ export declare interface CameraSitePermissionsProps extends CommonSitePermission
|
|
3043
3060
|
*/
|
3044
3061
|
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3045
3062
|
|
3063
|
+
/**
|
3064
|
+
* @public
|
3065
|
+
* Callback function run when a message edit is cancelled.
|
3066
|
+
*/
|
3067
|
+
export declare type CancelEditCallback = (messageId: string) => void;
|
3068
|
+
|
3069
|
+
/**
|
3070
|
+
* @beta
|
3071
|
+
* strings for captions setting modal
|
3072
|
+
*/
|
3073
|
+
export declare interface CaptionsAvailableLanguageStrings {
|
3074
|
+
'ar-ae': string;
|
3075
|
+
'ar-sa': string;
|
3076
|
+
'da-dk': string;
|
3077
|
+
'de-de': string;
|
3078
|
+
'en-au': string;
|
3079
|
+
'en-ca': string;
|
3080
|
+
'en-gb': string;
|
3081
|
+
'en-in': string;
|
3082
|
+
'en-nz': string;
|
3083
|
+
'en-us': string;
|
3084
|
+
'es-es': string;
|
3085
|
+
'es-mx': string;
|
3086
|
+
'fi-fi': string;
|
3087
|
+
'fr-ca': string;
|
3088
|
+
'fr-fr': string;
|
3089
|
+
'hi-in': string;
|
3090
|
+
'it-it': string;
|
3091
|
+
'ja-jp': string;
|
3092
|
+
'ko-kr': string;
|
3093
|
+
'nb-no': string;
|
3094
|
+
'nl-be': string;
|
3095
|
+
'nl-nl': string;
|
3096
|
+
'pl-pl': string;
|
3097
|
+
'pt-br': string;
|
3098
|
+
'ru-ru': string;
|
3099
|
+
'sv-se': string;
|
3100
|
+
'zh-cn': string;
|
3101
|
+
'zh-hk': string;
|
3102
|
+
'cs-cz': string;
|
3103
|
+
'pt-pt': string;
|
3104
|
+
'tr-tr': string;
|
3105
|
+
'vi-vn': string;
|
3106
|
+
'th-th': string;
|
3107
|
+
'he-il': string;
|
3108
|
+
'cy-gb': string;
|
3109
|
+
'uk-ua': string;
|
3110
|
+
'el-gr': string;
|
3111
|
+
'hu-hu': string;
|
3112
|
+
'ro-ro': string;
|
3113
|
+
'sk-sk': string;
|
3114
|
+
'zh-tw': string;
|
3115
|
+
}
|
3116
|
+
|
3117
|
+
/**
|
3118
|
+
* @beta
|
3119
|
+
*/
|
3120
|
+
export declare interface CaptionsCallFeatureState {
|
3121
|
+
/**
|
3122
|
+
* supported spoken languages
|
3123
|
+
*/
|
3124
|
+
supportedSpokenLanguages: string[];
|
3125
|
+
/**
|
3126
|
+
* array of received captions
|
3127
|
+
*/
|
3128
|
+
captions: CaptionsInfo[];
|
3129
|
+
/**
|
3130
|
+
* whether captions is on/off
|
3131
|
+
*/
|
3132
|
+
isCaptionsFeatureActive: boolean;
|
3133
|
+
/**
|
3134
|
+
* supported caption languages
|
3135
|
+
*/
|
3136
|
+
supportedCaptionLanguages: string[];
|
3137
|
+
/**
|
3138
|
+
* current spoken language
|
3139
|
+
*/
|
3140
|
+
currentSpokenLanguage: string;
|
3141
|
+
/**
|
3142
|
+
* current caption language
|
3143
|
+
*/
|
3144
|
+
currentCaptionLanguage: string;
|
3145
|
+
}
|
3146
|
+
|
3147
|
+
/**
|
3148
|
+
* @beta
|
3149
|
+
*/
|
3150
|
+
export declare interface CaptionsInfo {
|
3151
|
+
/**
|
3152
|
+
* The state in which this caption data can be classified.
|
3153
|
+
*/
|
3154
|
+
resultType: CaptionsResultType;
|
3155
|
+
/**
|
3156
|
+
* The information of the call participant who spoke the captioned text.
|
3157
|
+
*/
|
3158
|
+
speaker: CallerInfo;
|
3159
|
+
/**
|
3160
|
+
* The language that the spoken words were interpretted as. Corresponds to the language specified in startCaptions / setSpokenLanguage.
|
3161
|
+
*/
|
3162
|
+
spokenLanguage: string;
|
3163
|
+
/**
|
3164
|
+
* The caption text.
|
3165
|
+
*/
|
3166
|
+
captionText: string;
|
3167
|
+
/**
|
3168
|
+
* Timestamp of when the captioned words were initially spoken.
|
3169
|
+
*/
|
3170
|
+
timestamp: Date;
|
3171
|
+
/**
|
3172
|
+
* The language that the captions are presented in. Corresponds to the captionLanguage specified in startCaptions / setCaptionLanguage.
|
3173
|
+
*/
|
3174
|
+
captionLanguage?: string;
|
3175
|
+
/**
|
3176
|
+
* The original spoken caption text prior to translating to subtitle language
|
3177
|
+
*/
|
3178
|
+
spokenText?: string;
|
3179
|
+
}
|
3180
|
+
|
3181
|
+
/**
|
3182
|
+
* options bag to start captions
|
3183
|
+
*
|
3184
|
+
* @beta
|
3185
|
+
*/
|
3186
|
+
export declare type CaptionsOptions = {
|
3187
|
+
spokenLanguage: string;
|
3188
|
+
};
|
3189
|
+
|
3190
|
+
/**
|
3191
|
+
* Callback for {@link CallAdapterSubscribers} 'captionsReceived' event.
|
3192
|
+
*
|
3193
|
+
* @beta
|
3194
|
+
*/
|
3195
|
+
export declare type CaptionsReceivedListener = (event: {
|
3196
|
+
captionsInfo: CaptionsInfo;
|
3197
|
+
}) => void;
|
3198
|
+
|
3046
3199
|
/**
|
3047
3200
|
* {@link ChatComposite} Adapter interface.
|
3048
3201
|
*
|
@@ -3171,6 +3324,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
3171
3324
|
*
|
3172
3325
|
*/
|
3173
3326
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
3327
|
+
downloadAttachments: (options: {
|
3328
|
+
attachmentUrls: string[];
|
3329
|
+
}) => Promise<AttachmentDownloadResult[]>;
|
3174
3330
|
}
|
3175
3331
|
|
3176
3332
|
/**
|
@@ -3462,6 +3618,7 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3462
3618
|
senderId?: string;
|
3463
3619
|
senderDisplayName?: string;
|
3464
3620
|
status?: MessageStatus;
|
3621
|
+
failureReason?: string;
|
3465
3622
|
attached?: MessageAttachedStatus;
|
3466
3623
|
mine?: boolean;
|
3467
3624
|
clientMessageId?: string;
|
@@ -3490,6 +3647,7 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3490
3647
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
3491
3648
|
clientMessageId?: string;
|
3492
3649
|
status: MessageStatus;
|
3650
|
+
policyViolation?: boolean;
|
3493
3651
|
};
|
3494
3652
|
|
3495
3653
|
/**
|
@@ -3631,6 +3789,85 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
|
|
3631
3789
|
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
|
3632
3790
|
}
|
3633
3791
|
|
3792
|
+
/**
|
3793
|
+
* Customization options for the control bar in calling experience.
|
3794
|
+
*
|
3795
|
+
* @public
|
3796
|
+
*/
|
3797
|
+
export declare type CommonCallControlOptions = {
|
3798
|
+
/**
|
3799
|
+
* {@link CallControlDisplayType} to change how the call controls are displayed.
|
3800
|
+
* `'compact'` display type will decreases the size of buttons and hide the labels.
|
3801
|
+
*
|
3802
|
+
* @remarks
|
3803
|
+
* If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
|
3804
|
+
*
|
3805
|
+
* @defaultValue 'default'
|
3806
|
+
*/
|
3807
|
+
displayType?: CallControlDisplayType;
|
3808
|
+
/**
|
3809
|
+
* Show or Hide Camera Button during a call
|
3810
|
+
* @defaultValue true
|
3811
|
+
*/
|
3812
|
+
cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3813
|
+
disabled: boolean;
|
3814
|
+
};
|
3815
|
+
/**
|
3816
|
+
* Show or Hide EndCall button during a call.
|
3817
|
+
* @defaultValue true
|
3818
|
+
*/
|
3819
|
+
endCallButton?: boolean;
|
3820
|
+
/**
|
3821
|
+
* Show or Hide Microphone button during a call.
|
3822
|
+
* @defaultValue true
|
3823
|
+
*/
|
3824
|
+
microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3825
|
+
disabled: boolean;
|
3826
|
+
};
|
3827
|
+
/**
|
3828
|
+
* Show or Hide Devices button during a call.
|
3829
|
+
* @defaultValue true
|
3830
|
+
*/
|
3831
|
+
devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3832
|
+
disabled: boolean;
|
3833
|
+
};
|
3834
|
+
/**
|
3835
|
+
* Show, Hide or Disable participants button during a call.
|
3836
|
+
* @defaultValue true
|
3837
|
+
*/
|
3838
|
+
participantsButton?: boolean | {
|
3839
|
+
disabled: boolean;
|
3840
|
+
};
|
3841
|
+
/**
|
3842
|
+
* Show, Hide or Disable the screen share button during a call.
|
3843
|
+
* @defaultValue true
|
3844
|
+
*/
|
3845
|
+
screenShareButton?: boolean | {
|
3846
|
+
disabled: boolean;
|
3847
|
+
};
|
3848
|
+
/**
|
3849
|
+
* Show, Hide or disable the more button during a call.
|
3850
|
+
* @defaultValue true
|
3851
|
+
*/
|
3852
|
+
moreButton?: boolean;
|
3853
|
+
/**
|
3854
|
+
* Inject custom buttons in the call controls.
|
3855
|
+
*
|
3856
|
+
* @beta
|
3857
|
+
*/
|
3858
|
+
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
3859
|
+
holdButton?: boolean | {
|
3860
|
+
disabled: boolean;
|
3861
|
+
};
|
3862
|
+
/**
|
3863
|
+
* Show or hide the people button in the composite control bar.
|
3864
|
+
* @defaultValue true
|
3865
|
+
*/
|
3866
|
+
peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3867
|
+
disabled: boolean;
|
3868
|
+
};
|
3869
|
+
};
|
3870
|
+
|
3634
3871
|
/**
|
3635
3872
|
* Object containing all the handlers required for calling components.
|
3636
3873
|
*
|
@@ -3662,9 +3899,10 @@ export declare interface CommonCallingHandlers {
|
|
3662
3899
|
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
3663
3900
|
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
3664
3901
|
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
3665
|
-
|
3666
|
-
|
3667
|
-
|
3902
|
+
onStartCaptions: (options?: CaptionsOptions) => Promise<void>;
|
3903
|
+
onStopCaptions: () => Promise<void>;
|
3904
|
+
onSetSpokenLanguage: (language: string) => Promise<void>;
|
3905
|
+
onSetCaptionLanguage: (language: string) => Promise<void>;
|
3668
3906
|
}
|
3669
3907
|
|
3670
3908
|
/**
|
@@ -4261,7 +4499,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
|
|
4261
4499
|
*
|
4262
4500
|
* @public
|
4263
4501
|
*/
|
4264
|
-
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
4502
|
+
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, options }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
4265
4503
|
|
4266
4504
|
/**
|
4267
4505
|
* Create a {@link ChatAdapter} backed by Azure Communication Services.
|
@@ -4280,7 +4518,9 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
4280
4518
|
*
|
4281
4519
|
* @public
|
4282
4520
|
*/
|
4283
|
-
export declare
|
4521
|
+
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: {
|
4522
|
+
credential?: CommunicationTokenCredential;
|
4523
|
+
}): Promise<ChatAdapter>;
|
4284
4524
|
|
4285
4525
|
/**
|
4286
4526
|
* Create the default implementation of {@link CallingHandlers} for teams call.
|
@@ -4414,15 +4654,16 @@ export declare type CustomAvatarOptions = {
|
|
4414
4654
|
};
|
4415
4655
|
|
4416
4656
|
/**
|
4417
|
-
* A callback that returns the props to render a custom {@link ControlBarButton}.
|
4657
|
+
* A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
|
4418
4658
|
*
|
4419
4659
|
* The response indicates where the custom button should be placed.
|
4420
4660
|
*
|
4421
4661
|
* Performance tip: This callback is only called when either the callback or its arguments change.
|
4422
|
-
*
|
4423
4662
|
* @beta
|
4424
4663
|
*/
|
4425
|
-
|
4664
|
+
declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
4665
|
+
export { CustomCallControlButtonCallback }
|
4666
|
+
export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
|
4426
4667
|
|
4427
4668
|
/**
|
4428
4669
|
* Arguments for {@link CustomCallControlButtonCallback}.
|
@@ -4439,17 +4680,23 @@ export declare interface CustomCallControlButtonCallbackArgs {
|
|
4439
4680
|
}
|
4440
4681
|
|
4441
4682
|
/**
|
4442
|
-
* Placement for a custom button injected in the {@link
|
4683
|
+
* Placement for a custom button injected in the {@link CommonCallControlBar}.
|
4443
4684
|
*
|
4444
4685
|
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
4686
|
+
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
4687
|
+
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
4445
4688
|
*
|
4446
4689
|
* Multiple buttons assigned the same placement are appended in order.
|
4447
|
-
* E.g., if two buttons are placed in '
|
4448
|
-
*
|
4690
|
+
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
4691
|
+
* in the order provided.
|
4692
|
+
*
|
4693
|
+
* Only 'primary' placement works when legacy call control is enabled in call composite
|
4449
4694
|
*
|
4450
4695
|
* @beta
|
4451
4696
|
*/
|
4452
|
-
|
4697
|
+
declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
4698
|
+
export { CustomCallControlButtonPlacement }
|
4699
|
+
export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
|
4453
4700
|
|
4454
4701
|
/**
|
4455
4702
|
* Response from {@link CustomCallControlButtonCallback}.
|
@@ -4472,32 +4719,7 @@ export declare interface CustomCallControlButtonProps extends CustomControlButto
|
|
4472
4719
|
}
|
4473
4720
|
|
4474
4721
|
/**
|
4475
|
-
*
|
4476
|
-
*
|
4477
|
-
* The response indicates where the custom button should be placed.
|
4478
|
-
*
|
4479
|
-
* Performance tip: This callback is only called when either the callback or its arguments change.
|
4480
|
-
* @beta
|
4481
|
-
*/
|
4482
|
-
export declare type CustomCallWithChatControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
4483
|
-
|
4484
|
-
/**
|
4485
|
-
* Placement for a custom button injected in the {@link CallWithChatControlBar}.
|
4486
|
-
*
|
4487
|
-
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
4488
|
-
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
4489
|
-
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
4490
|
-
*
|
4491
|
-
* Multiple buttons assigned the same placement are appended in order.
|
4492
|
-
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
4493
|
-
* in the order provided.
|
4494
|
-
*
|
4495
|
-
* @beta
|
4496
|
-
*/
|
4497
|
-
export declare type CustomCallWithChatControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
4498
|
-
|
4499
|
-
/**
|
4500
|
-
* Response from {@link CustomCallWithChatControlButtonCallback}.
|
4722
|
+
* Response from {@link CustomCallControlButtonCallback}.
|
4501
4723
|
*
|
4502
4724
|
* Includes the icon and placement prop necessary to indicate where to place the
|
4503
4725
|
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
@@ -4508,7 +4730,7 @@ export declare interface CustomCallWithChatControlButtonProps extends CustomCont
|
|
4508
4730
|
/**
|
4509
4731
|
* Where to place the custom button relative to other buttons.
|
4510
4732
|
*/
|
4511
|
-
placement:
|
4733
|
+
placement: CustomCallControlButtonPlacement;
|
4512
4734
|
/**
|
4513
4735
|
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
4514
4736
|
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
@@ -4614,6 +4836,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4614
4836
|
ControlButtonScreenShareStop: JSX.Element;
|
4615
4837
|
CancelFileUpload: JSX.Element;
|
4616
4838
|
DownloadFile: JSX.Element;
|
4839
|
+
DataLossPreventionProhibited: JSX.Element;
|
4617
4840
|
EditBoxCancel: JSX.Element;
|
4618
4841
|
EditBoxSubmit: JSX.Element;
|
4619
4842
|
ErrorBarCallCameraAccessDenied: JSX.Element;
|
@@ -4672,7 +4895,10 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4672
4895
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
4673
4896
|
VerticalGalleryLeftButton: JSX.Element;
|
4674
4897
|
VerticalGalleryRightButton: JSX.Element;
|
4675
|
-
|
4898
|
+
CaptionsIcon: JSX.Element;
|
4899
|
+
CaptionsOffIcon: JSX.Element;
|
4900
|
+
CaptionsSettingsIcon: JSX.Element;
|
4901
|
+
ChangeSpokenLanguageIcon: JSX.Element;
|
4676
4902
|
};
|
4677
4903
|
|
4678
4904
|
/**
|
@@ -4694,6 +4920,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4694
4920
|
SendBoxSend: JSX.Element;
|
4695
4921
|
SendBoxSendHovered: JSX.Element;
|
4696
4922
|
SendBoxAttachFile?: JSX.Element | undefined;
|
4923
|
+
ControlBarPeopleButton?: JSX.Element | undefined;
|
4697
4924
|
ControlButtonCameraOff: JSX.Element;
|
4698
4925
|
ControlButtonCameraOn: JSX.Element;
|
4699
4926
|
ControlButtonEndCall: JSX.Element;
|
@@ -4743,7 +4970,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4743
4970
|
ChevronLeft?: JSX.Element | undefined;
|
4744
4971
|
ControlBarChatButtonActive?: JSX.Element | undefined;
|
4745
4972
|
ControlBarChatButtonInactive?: JSX.Element | undefined;
|
4746
|
-
ControlBarPeopleButton?: JSX.Element | undefined;
|
4747
4973
|
Link?: JSX.Element | undefined;
|
4748
4974
|
MoreDrawerMicrophones?: JSX.Element | undefined;
|
4749
4975
|
MoreDrawerPeople?: JSX.Element | undefined;
|
@@ -4754,6 +4980,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4754
4980
|
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
4755
4981
|
CancelFileUpload: JSX.Element;
|
4756
4982
|
DownloadFile: JSX.Element;
|
4983
|
+
DataLossPreventionProhibited: JSX.Element;
|
4757
4984
|
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
4758
4985
|
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
4759
4986
|
MessageResend: JSX.Element;
|
@@ -4780,7 +5007,10 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4780
5007
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
4781
5008
|
VerticalGalleryLeftButton: JSX.Element;
|
4782
5009
|
VerticalGalleryRightButton: JSX.Element;
|
4783
|
-
|
5010
|
+
CaptionsIcon: JSX.Element;
|
5011
|
+
CaptionsOffIcon: JSX.Element;
|
5012
|
+
CaptionsSettingsIcon: JSX.Element;
|
5013
|
+
ChangeSpokenLanguageIcon: JSX.Element;
|
4784
5014
|
};
|
4785
5015
|
|
4786
5016
|
/**
|
@@ -5400,6 +5630,8 @@ export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMet
|
|
5400
5630
|
* @beta
|
5401
5631
|
*/
|
5402
5632
|
export declare interface FileMetadata {
|
5633
|
+
attachmentType: FileMetadataAttachmentType;
|
5634
|
+
id: string;
|
5403
5635
|
/**
|
5404
5636
|
* File name to be displayed.
|
5405
5637
|
*/
|
@@ -5414,8 +5646,14 @@ export declare interface FileMetadata {
|
|
5414
5646
|
* Download URL for the file.
|
5415
5647
|
*/
|
5416
5648
|
url: string;
|
5649
|
+
previewUrl?: string;
|
5417
5650
|
}
|
5418
5651
|
|
5652
|
+
/**
|
5653
|
+
* @beta
|
5654
|
+
*/
|
5655
|
+
export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images) */ 'teamsInlineImage' | 'unknown';
|
5656
|
+
|
5419
5657
|
/**
|
5420
5658
|
* Properties for configuring the File Sharing feature.
|
5421
5659
|
* @beta
|
@@ -5837,6 +6075,15 @@ export declare interface IncomingCallState {
|
|
5837
6075
|
endTime?: Date;
|
5838
6076
|
}
|
5839
6077
|
|
6078
|
+
/**
|
6079
|
+
* Callback for {@link CallAdapterSubscribers} 'isCaptionsActiveChanged' event.
|
6080
|
+
*
|
6081
|
+
* @beta
|
6082
|
+
*/
|
6083
|
+
export declare type IsCaptionsActiveChangedListener = (event: {
|
6084
|
+
isActive: boolean;
|
6085
|
+
}) => void;
|
6086
|
+
|
5840
6087
|
/**
|
5841
6088
|
* Callback for {@link CallAdapterSubscribers} 'isLocalScreenSharingActiveChanged' event.
|
5842
6089
|
*
|
@@ -5948,27 +6195,6 @@ export declare interface LocalVideoStreamState {
|
|
5948
6195
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
5949
6196
|
*/
|
5950
6197
|
view?: VideoStreamRendererViewState;
|
5951
|
-
/**
|
5952
|
-
* Stores the state of the video effects.
|
5953
|
-
* @beta
|
5954
|
-
*/
|
5955
|
-
videoEffects?: LocalVideoStreamVideoEffectsState;
|
5956
|
-
}
|
5957
|
-
|
5958
|
-
/**
|
5959
|
-
* State only version of a LocalVideoStream's {@link @azure/communication-calling#VideoEffectsFeature}.
|
5960
|
-
*
|
5961
|
-
* @beta
|
5962
|
-
*/
|
5963
|
-
export declare interface LocalVideoStreamVideoEffectsState {
|
5964
|
-
/**
|
5965
|
-
* State of the video background effect.
|
5966
|
-
*/
|
5967
|
-
isActive: boolean;
|
5968
|
-
/**
|
5969
|
-
* Name of the effect if one is active.
|
5970
|
-
*/
|
5971
|
-
effectName?: VideoEffectName;
|
5972
6198
|
}
|
5973
6199
|
|
5974
6200
|
/**
|
@@ -5996,7 +6222,7 @@ export declare interface MediaDiagnosticsState {
|
|
5996
6222
|
*
|
5997
6223
|
* @public
|
5998
6224
|
*/
|
5999
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
6225
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
|
6000
6226
|
|
6001
6227
|
/**
|
6002
6228
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -6033,7 +6259,7 @@ export declare type MessageContentType = 'text' | 'html' | 'richtext/html' | 'un
|
|
6033
6259
|
*/
|
6034
6260
|
export declare type MessageProps = {
|
6035
6261
|
/**
|
6036
|
-
* Message to render. It can type `ChatMessage` or `SystemMessage` or `CustomMessage`.
|
6262
|
+
* Message to render. It can type `ChatMessage` or `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
6037
6263
|
*/
|
6038
6264
|
message: Message;
|
6039
6265
|
/**
|
@@ -6065,6 +6291,12 @@ export declare type MessageProps = {
|
|
6065
6291
|
* @param content - new content of the message
|
6066
6292
|
*/
|
6067
6293
|
onUpdateMessage?: UpdateMessageCallback;
|
6294
|
+
/**
|
6295
|
+
* Optional callback for when a message edit is cancelled.
|
6296
|
+
*
|
6297
|
+
* @param messageId - message id from chatClient
|
6298
|
+
*/
|
6299
|
+
onCancelMessageEdit?: CancelEditCallback;
|
6068
6300
|
/**
|
6069
6301
|
* Optional callback to delete a message.
|
6070
6302
|
*
|
@@ -6208,9 +6440,9 @@ export declare type MessageThreadProps = {
|
|
6208
6440
|
*/
|
6209
6441
|
userId: string;
|
6210
6442
|
/**
|
6211
|
-
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage` or `CustomMessage`.
|
6443
|
+
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
6212
6444
|
*/
|
6213
|
-
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
6445
|
+
messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
|
6214
6446
|
/**
|
6215
6447
|
* number of participants in the thread
|
6216
6448
|
*/
|
@@ -6297,6 +6529,12 @@ export declare type MessageThreadProps = {
|
|
6297
6529
|
* @beta
|
6298
6530
|
*/
|
6299
6531
|
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
6532
|
+
/**
|
6533
|
+
* Optional callback to retrieve the inline image in a message.
|
6534
|
+
* @param attachment - FileMetadata object we want to render
|
6535
|
+
* @beta
|
6536
|
+
*/
|
6537
|
+
onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
|
6300
6538
|
/**
|
6301
6539
|
* Optional callback to edit a message.
|
6302
6540
|
*
|
@@ -6305,6 +6543,12 @@ export declare type MessageThreadProps = {
|
|
6305
6543
|
*
|
6306
6544
|
*/
|
6307
6545
|
onUpdateMessage?: UpdateMessageCallback;
|
6546
|
+
/**
|
6547
|
+
* Optional callback for when a message edit is cancelled.
|
6548
|
+
*
|
6549
|
+
* @param messageId - message id from chatClient
|
6550
|
+
*/
|
6551
|
+
onCancelMessageEdit?: CancelEditCallback;
|
6308
6552
|
/**
|
6309
6553
|
* Optional callback to delete a message.
|
6310
6554
|
*
|
@@ -6417,6 +6661,10 @@ export declare interface MessageThreadStrings {
|
|
6417
6661
|
actionMenuMoreOptions?: string;
|
6418
6662
|
/** String for download file button in file card */
|
6419
6663
|
downloadFile: string;
|
6664
|
+
/** String for policy violation message removal */
|
6665
|
+
blockedWarningText: string;
|
6666
|
+
/** String for policy violation message removal details link */
|
6667
|
+
blockedWarningLinkText: string;
|
6420
6668
|
}
|
6421
6669
|
|
6422
6670
|
/**
|
@@ -6443,6 +6691,8 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
6443
6691
|
chatMessageContainer?: ComponentSlotStyle;
|
6444
6692
|
/** Styles for system message container. */
|
6445
6693
|
systemMessageContainer?: ComponentSlotStyle;
|
6694
|
+
/** Styles for blocked message container. */
|
6695
|
+
blockedMessageContainer?: ComponentSlotStyle;
|
6446
6696
|
/** Styles for message status indicator container. */
|
6447
6697
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
6448
6698
|
}
|
@@ -7225,7 +7475,7 @@ export declare interface RemoteVideoTileMenuOptions {
|
|
7225
7475
|
* @beta
|
7226
7476
|
* The role of a call participant.
|
7227
7477
|
*/
|
7228
|
-
export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer';
|
7478
|
+
export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer' | 'Co-organizer';
|
7229
7479
|
|
7230
7480
|
/**
|
7231
7481
|
* A button to start / stop screen sharing.
|
@@ -7718,14 +7968,6 @@ export declare interface StatefulDeviceManager extends DeviceManager {
|
|
7718
7968
|
* {@link StatefulDeviceManager}. See also {@link DeviceManagerState.selectedCamera}.
|
7719
7969
|
*/
|
7720
7970
|
selectCamera: (VideoDeviceInfo: any) => void;
|
7721
|
-
/**
|
7722
|
-
* Gets the list of unparented video streams. This is a list of video streams that have not been added to a
|
7723
|
-
* {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
|
7724
|
-
* video streams before they have started a call. See also {@link @azure/communication-react#CallClient.createView}.
|
7725
|
-
*
|
7726
|
-
* @beta
|
7727
|
-
*/
|
7728
|
-
getUnparentedVideoStreams: () => LocalVideoStream[];
|
7729
7971
|
}
|
7730
7972
|
|
7731
7973
|
/**
|
@@ -8375,26 +8617,6 @@ export declare interface VerticalGalleryStyles extends BaseCustomStyles {
|
|
8375
8617
|
controlBar?: VerticalGalleryControlBarStyles;
|
8376
8618
|
}
|
8377
8619
|
|
8378
|
-
/**
|
8379
|
-
* Contains the attibutes of a background image like url, name etc.
|
8380
|
-
*
|
8381
|
-
* @beta
|
8382
|
-
*/
|
8383
|
-
export declare interface VideoBackgroundImage {
|
8384
|
-
/**
|
8385
|
-
* key for unique identification of the custom background
|
8386
|
-
*/
|
8387
|
-
key: string;
|
8388
|
-
/**
|
8389
|
-
* URL of the uploaded background image.
|
8390
|
-
*/
|
8391
|
-
url: string;
|
8392
|
-
/**
|
8393
|
-
* Image name to be displayed.
|
8394
|
-
*/
|
8395
|
-
tooltipText?: string;
|
8396
|
-
}
|
8397
|
-
|
8398
8620
|
/**
|
8399
8621
|
* VideoGallery represents a layout of video tiles for a specific call.
|
8400
8622
|
* It displays a {@link VideoTile} for the local user as well as for each remote participant who has joined the call.
|