infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
13 lines (12 loc) • 995 B
TypeScript
import { InfobipRTCEvents } from "./InfobipRTCEvents";
import { IncomingApplicationCallEvent } from "../call/event/IncomingApplicationCallEvent";
import { IncomingWebrtcCallEvent } from "../call/event/IncomingWebrtcCallEvent";
export declare namespace InfobipRTCEventHandlers {
type Connected = (event: InfobipRTCEvents.ConnectedEvent) => void;
type Reconnecting = (event: InfobipRTCEvents.ReconnectingEvent) => void;
type Reconnected = (event: InfobipRTCEvents.ReconnectedEvent) => void;
type Disconnected = (event: InfobipRTCEvents.DisconnectedEvent) => void;
type IncomingApplicationCall = (event: IncomingApplicationCallEvent) => void;
type IncomingWebrtcCall = (event: IncomingWebrtcCallEvent) => void;
type Any = InfobipRTCEventHandlers.Connected | InfobipRTCEventHandlers.Reconnecting | InfobipRTCEventHandlers.Reconnected | InfobipRTCEventHandlers.Disconnected | InfobipRTCEventHandlers.IncomingApplicationCall | InfobipRTCEventHandlers.IncomingWebrtcCall;
}