UNPKG

bigbluebutton-html-plugin-sdk

Version:

This repository contains the SDK for developing BigBlueButton plugins. Plugins are React components that can be loaded from external sources by the BigBlueButton HTML5 client to extend its functionalities.

29 lines (28 loc) 1.12 kB
/// <reference types="react" /> import { PluginProvidedUiItemDescriptor } from '../base'; export interface UserCameraDropdownCallbackFunctionsArguments { streamId: string; userId: string; } export interface OnclickFunctionCallbackArguments extends UserCameraDropdownCallbackFunctionsArguments { browserClickEvent: React.MouseEvent<HTMLElement>; } /** * User Camera Dropdown Item - The general user camera dropdown extensible area item * * @remarks * This dropdown is located on the bottom left corner of the user webcam area */ export interface UserCameraDropdownInterface extends PluginProvidedUiItemDescriptor { displayFunction?: (args: UserCameraDropdownCallbackFunctionsArguments) => boolean; } export interface UserCameraDropdownSeparatorProps { displayFunction?: (args: UserCameraDropdownCallbackFunctionsArguments) => boolean; } export interface UserCameraDropdownOptionProps { id?: string; label: string; icon: string; onClick: (args: OnclickFunctionCallbackArguments) => void; displayFunction?: (args: UserCameraDropdownCallbackFunctionsArguments) => boolean; }