@pureweb/platform-streaming-agent
Version:
The PureWeb platform streaming agent enables your game to communicate and stream through the PureWeb Platform
22 lines (21 loc) • 641 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractExtension = void 0;
class AbstractExtension {
start() {
throw new Error('Method not implemented.');
}
initialize(_agent, _configuration, _platform, _presenceMonitor) {
this.agent = _agent;
this.config = _configuration;
this.presenceMonitor = _presenceMonitor;
this.platform = _platform;
}
stop() {
throw new Error('Method not implemented.');
}
onStateChanged(handler) {
this.connectionStateHandler = handler;
}
}
exports.AbstractExtension = AbstractExtension;
;