react-native-twilio-voice-sdk-upgrade
Version:
React Native wrapper for Twilio Programmable Voice SDK
21 lines (20 loc) • 612 B
JavaScript
import AbstractCall from "./abstractCall";
class CallInvite extends AbstractCall {
constructor(callInvite) {
super();
this._customParameters = {};
this.updateFromNativeCallObject(callInvite);
if (callInvite.customParameters !== undefined) {
this._customParameters = Object.assign(Object.assign({}, this._customParameters), callInvite.customParameters);
}
}
get customParameters() {
return this._customParameters;
}
// TODO: accept should take an options object
accept() {
}
reject() {
}
}
export default CallInvite;