51Degrees Device Detection for Node.js

DeviceDetectionCloud Class Reference

Detailed Description

The deviceDetction cloud engine requires the 51Degrees cloudRequestEngine to be placed in a pipeline before it.

It takes that raw JSON response and parses it to extract the device part. It also uses this data to generate a list of properties

Inheritance diagram for DeviceDetectionCloud:

[legend]

Collaboration diagram for DeviceDetectionCloud:

[legend]

Public Member Functions

 constructor ()
 Constructor for DeviceDetectionCloud.

Public Member Functions inherited from CloudEngine

 constructor ()
 handlePipelineRegistration (pipeline, flowElement)
 updateEngineWhenCloudRequestEngineReady (resolve, reject)
 ready ()
 processInternal (flowData)

Public Member Functions inherited from Engine

 constructor ({ cache, restrictedProperties, dataFile }={})
 isCacheable (data)
 inCache (flowData)
 process (flowData)
 refresh ()
 registerDataFile (dataFile)

Public Member Functions inherited from FlowElement

 constructor ({ processInternal, dataKey, properties={}, evidenceKeyFilter, keptEvidenceKeyFilter }={})
 onRegistration (pipeline, flowElement)
 ready ()
 processInternal (flowData)
 process (flowData)
 updateProperties ()
 getProperties ()
 _log (type, message)