UNPKG

@azure/communication-react

Version:

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

28 lines 1.31 kB
import { CommunicationTokenCredential, CommunicationUserIdentifier } from '@azure/communication-common'; import { AzureCommunicationCallAdapterOptions, CallAdapter, CallAdapterLocator, CallCompositeOptions } 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 CallCompositeLoaderProps = { userId: CommunicationUserIdentifier; credential: CommunicationTokenCredential; displayName: string; locator: CallAdapterLocator; callAdapterOptions?: AzureCommunicationCallAdapterOptions; callCompositeOptions?: CallCompositeOptions; }; /** * Loader function for the CallComposite that you can use in your application. This * function will load the CallComposite into the provided HTML element. The best use case for this * is in a Node ui framework that is not React based. * * @public */ export declare const loadCallComposite: (loaderArgs: CallCompositeLoaderProps, htmlElement: HTMLElement) => Promise<CallAdapter | undefined>; //# sourceMappingURL=callCompositeLoader.d.ts.map