\r\n

51Degrees Device Detection Node.js  4.4

51Degrees Device Detection for Node.js

DeviceDetectionMissingPropertyService Class Reference

Detailed Description

Instance of the MissingPropertyService class that checks if a property is available in the current dataFile.

Inheritance diagram for DeviceDetectionMissingPropertyService:

[legend]

Collaboration diagram for DeviceDetectionMissingPropertyService:

[legend]

Public Member Functions

 check (key, flowElement)
Constructor for Missing Property Service that receives a requested property key that is missing in the data. More...

Member Function Documentation

◆ check()

DeviceDetectionMissingPropertyService::check (   key,
  flowElement  
)
inline

Constructor for Missing Property Service that receives a requested property key that is missing in the data.

If it is missing because the data does not exist in the data file that was chosen, it returns an error which states which data file the property can be found in.

Parameters
{string} - key missing property key
{FlowElement} - flowElement the FlowElement the key was missing from
Returns
{never} throws an error