Skip to main content

@pexip/plugin-api

plugin-api is a Typescript package for creating Pexip ("Web App 3") plugins.

To find out the most suitable package version for a particular Web App 3 deployment, one can go to the About Pexip section of the app and check Plugin API Version.

Install

npm install @pexip/plugin-api

Usage

import {registerPlugin} from '@pexip/plugin-api';

const plugin = await registerPlugin({id: 'your-plugin-name', version: 1});

void plugin.ui.showToast({message: 'Hello from the plugin'});

Documentation

https://developer.pexip.com/docs/category/pexip-connect-for-web-webapp3-plugins

Enumerations

EnumerationDescription
CallType-
ParticipantActivities-

Classes

ClassDescription
Channel-

Interfaces

InterfaceDescription
ApplicationMessage-
AppRPCCalls-
BreakoutReferDetails-
BreakoutRoom-
Button-
ButtonRPCPayload-
ChecklistElement-
ConferenceStatus-
EventMessage-
Events-
Form-
GroupButtonPayload-
InfinityParticipant-
InputElement-
JoinActivity-
LayoutEvent-
LeaveActivity-
Message-
Participant-
Plugin-
PluginElement-
PluginMeta-
PluginWidget-
Prompt-
RadioGroupElement-
RangeSliderElement-
RoomParticipantActivity-
RPCCallMeta-
RPCCalls-
SelectElement-
Stage-
TextArea-
TransferDetails-
UIRPCCalls-
UpdateActivity-
Widget-

Type Aliases

Type AliasDescription
Breakpoint-
BreakpointDimension-
ButtonRPCReply-
ChecklistOption-
ClientSideErrorMessage-
ConferenceStatusEvent-
CustomIcon-
DisconnectReason-
Event-
EventPayload-
ExtendedInfinityErrorCode-
ExtendedInfinityErrorMessage-
FloatingWidgetDimensions-
FloatingWidgetPayload-
FloatingWidgetPosition-
FormElement-
FormInput-
FormInputId-
FormInputValue-
FormPayload-
GenericRPCReply-
GetButtonRPCPayload-
Guid-
IframeType-
InfinityEndpointReply-
Layout-
MapFormReturn-
NotificationToastMessage-
ParamsWithOmittedConferenceMeta-
ParticipantActionButtonPayload-
ParticipantActivity-
ParticipantID-
PluginMessage-
PopupRequest-
RadioOption-
RoomID-
RPCCall-
RPCCallPayload-
RPCCallReply-
RPCReply-
RTCParticipantEvent-
SidePanelWidgetPayload-
ToolbarButtonPayload-
UIError-
WidgetPayload-
WidgetProps-

Variables

VariableDescription
breakpoints-

Functions

FunctionDescription
isEvent-
isFormChecklistElement-
isFormInputElement-
isFormRadioGroupElement-
isFormRangeElement-
isFormSelectElement-
isParticipantID-
isRPCCall-
isRPCCallType-
isRPCReply-
registerPlugin-
registerWidgetWhen registering a widget, it must be given the correct 'parentPluginId' of the plugin which spawned it in order for its own UI elements to be correctly ordered based on its parent order.
setLogger-