infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
39 lines • 980 B
JavaScript
export class PlatformOptions {
constructor(_applicationId, _entityId) {
this._applicationId = _applicationId;
this._entityId = _entityId;
}
get applicationId() {
return this._applicationId;
}
set applicationId(value) {
this._applicationId = value;
}
get entityId() {
return this._entityId;
}
set entityId(value) {
this._entityId = value;
}
static builder() {
return new PlatformOptionsBuilder();
}
}
class PlatformOptionsBuilder {
constructor() {
this._applicationId = undefined;
this._entityId = undefined;
}
setApplicationId(_applicationId) {
this._applicationId = _applicationId;
return this;
}
setEntityId(_entityId) {
this._entityId = _entityId;
return this;
}
build() {
return new PlatformOptions(this._applicationId, this._entityId);
}
}
//# sourceMappingURL=PlatformOptions.js.map