Defines whether the response should be retrieved from local cache or from Convertigo server when the device can access the network.
When the device has no network access, the local cache response is used, if existing.
- Priority
+ new Priority(isAvailable: boolean): Priority
Defined in c8osdk-js-core/src/c8o/priority.service.ts:12
Parameters:
| Name | Type |
|---|---|
isAvailable |
boolean |
Returns: Priority
• isAvailable: boolean
Defined in c8osdk-js-core/src/c8o/priority.service.ts:6
▪ LOCAL: Priority = new Priority(true)
Defined in c8osdk-js-core/src/c8o/priority.service.ts:12
▪ SERVER: Priority = new Priority(false)
Defined in c8osdk-js-core/src/c8o/priority.service.ts:9