@daily-co/daily-js
Version:
**🚨Our docs have moved! 🚨**
46 lines (40 loc) • 1.1 kB
JavaScript
import { notImplementedError } from '../../utils';
/**
* A two-way message channel between daily-js and the call machine (pluot-core).
*/
export default class ScriptMessageChannel {
/**
* Adds a listener for messages from the call machine (pluot-core).
* For use by daily-js.
*/
addListenerForMessagesFromCallMachine(listener, callFrameId, thisValue) {
notImplementedError();
}
/**
* Adds a listener for messages from daily-js.
* For use by the call machine (pluot-core).
*/
addListenerForMessagesFromDailyJs(listener, callFrameId, thisValue) {
notImplementedError();
}
/**
* Send a message to the call machine (pluot-core).
* For use by daily-js.
*/
sendMessageToCallMachine(message, callback, iframe, callFrameId) {
notImplementedError();
}
/**
* Send a message to daily-js.
* For use by the call machine (pluot-core).
*/
sendMessageToDailyJs(message, isCallObject, callFrameId) {
notImplementedError();
}
/**
* Remove an added listener.
*/
removeListener(listener) {
notImplementedError();
}
}