Skip to content

Latest commit

 

History

History
62 lines (34 loc) · 1.57 KB

File metadata and controls

62 lines (34 loc) · 1.57 KB

c8osdkjscorePriority

Class: Priority

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.

Hierarchy

  • Priority

Index

Constructors

Properties

Constructors

constructor

+ new Priority(isAvailable: boolean): Priority

Defined in c8osdk-js-core/src/c8o/priority.service.ts:12

Parameters:

Name Type
isAvailable boolean

Returns: Priority

Properties

isAvailable

isAvailable: boolean

Defined in c8osdk-js-core/src/c8o/priority.service.ts:6


Static LOCAL

LOCAL: Priority = new Priority(true)

Defined in c8osdk-js-core/src/c8o/priority.service.ts:12


Static SERVER

SERVER: Priority = new Priority(false)

Defined in c8osdk-js-core/src/c8o/priority.service.ts:9