UNPKG

@azure/communication-react

Version:

React library for building modern communication user experiences utilizing Azure Communication Services

28 lines 1.39 kB
import { CommunicationTokenCredential, CommunicationUserIdentifier } from '@azure/communication-common'; import { CallCompositeOptions, StartCallIdentifier, AzureCommunicationCallAdapterOptions, CallAdapter } from "../../react-composites/src/index-public"; /** * Props for the OutboundCallComposite that you can use in your application. * * Contains two options bags: * - adapterOptions: Options for the {@link AzureCommunicationCallAdapter} * - callCompositeOptions: Options for the {@link CallComposite} {@link CallCompositeOptions} * * @public */ export type OutboundCallCompositeLoaderProps = { userId: CommunicationUserIdentifier; credential: CommunicationTokenCredential; displayName: string; targetCallees: string[] | StartCallIdentifier[]; callAdapterOptions?: AzureCommunicationCallAdapterOptions; callCompositeOptions?: CallCompositeOptions; }; /** * Loader function for the OutboundCallComposite that you can use in your application. This * function will load the CallComposite into the provided HTML element to make outbound calls. * The best use case for this is in a Node UI framework that is not React based. * * @public */ export declare const loadOutboundCallComposite: (loaderArgs: OutboundCallCompositeLoaderProps, htmlElement: HTMLElement) => Promise<CallAdapter | undefined>; //# sourceMappingURL=outboundCallCompositeLoader.d.ts.map