@azure/communication-react
Version:
React library for building modern communication user experiences utilizing Azure Communication Services
38 lines • 1.54 kB
TypeScript
/// <reference types="react" />
import { LocalScreenShareView } from "../../../../../react-components/src";
import { VideoGalleryLayout } from "../../../../../react-components/src";
import { AvatarPersonaDataCallback } from '../../common/AvatarPersona';
import { RemoteVideoTileMenuOptions } from '../CallComposite';
import { LocalVideoTileOptions } from '../CallComposite';
import { PromptProps } from './Prompt';
import { VideoTilesOptions } from "../../../../../react-components/src";
/**
* @private
*/
export interface MediaGalleryProps {
isVideoStreamOn?: boolean;
isMicrophoneChecked?: boolean;
onStartLocalVideo: () => Promise<void>;
onFetchAvatarPersonaData?: AvatarPersonaDataCallback;
isMobile?: boolean;
drawerMenuHostId?: string;
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
localVideoTileOptions?: boolean | LocalVideoTileOptions;
userSetOverflowGalleryPosition?: 'Responsive' | 'horizontalTop';
userSetGalleryLayout: VideoGalleryLayout;
pinnedParticipants?: string[];
setPinnedParticipants?: (pinnedParticipants: string[]) => void;
setIsPromptOpen: (isOpen: boolean) => void;
setPromptProps: (props: PromptProps) => void;
hideSpotlightButtons?: boolean;
videoTilesOptions?: VideoTilesOptions;
captionsOptions?: {
height: 'full' | 'default';
};
localScreenShareView?: LocalScreenShareView;
}
/**
* @private
*/
export declare const MediaGallery: (props: MediaGalleryProps) => JSX.Element;
//# sourceMappingURL=MediaGallery.d.ts.map