UNPKG

c8osdkjscore

Version:
19 lines (14 loc) 598 B
/** * Defines whether the response should be retrieved from local cache or from Convertigo server when the device can access the network.<br/> * When the device has no network access, the local cache response is used, if existing. */ export class Priority { public isAvailable: boolean; //noinspection JSUnusedLocalSymbols public static SERVER: Priority = new Priority(false); //noinspection JSUnusedLocalSymbols public static LOCAL: Priority = new Priority(true); constructor(isAvailable: boolean) { this.isAvailable = isAvailable; } }