sinch-rtc
Version:
RTC JavaScript/Web SDK
19 lines • 766 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingStorage = void 0;
const KeyValueStorage_1 = require("./KeyValueStorage");
class SettingStorage extends KeyValueStorage_1.KeyValueStorage {
constructor(storage) {
super(storage, SettingStorage.SETTING_PREFIX);
}
get applicationServerKey() {
return this.get(SettingStorage.SETTING_KEY_APPLICATION_SERVER_KEY);
}
set applicationServerKey(value) {
this.set(SettingStorage.SETTING_KEY_APPLICATION_SERVER_KEY, value);
}
}
exports.SettingStorage = SettingStorage;
SettingStorage.SETTING_KEY_APPLICATION_SERVER_KEY = "ApplicationServerKey";
SettingStorage.SETTING_PREFIX = "sinch:settings:";
//# sourceMappingURL=SettingStorage.js.map