\r\n

51Degrees Device Detection Node.js  4.4

51Degrees Device Detection for Node.js

Property Class Reference

Detailed Description

Examples
cloud/metadata-console/metaData.js.

Public Member Functions

 constructor (metadata, engineMetadata)
Constructor for Property. More...
*  getValues ()
Yield property values. More...
 getNumberOfValues ()
Get number of values in the property. More...

Member Function Documentation

◆ constructor()

Property::constructor (   metadata,
  engineMetadata  
)
inline

Constructor for Property.

Parameters
{object} - metadata Metadata
{object} - engineMetadata Engine metadata

@type {string}

@type {string}

@type {Array<string>}

@type {string}

@type {string}

@type {Component}

@type {object}

◆ getNumberOfValues()

Property::getNumberOfValues ( )
inline

Get number of values in the property.

Returns
{number} uint32

◆ getValues()

* Property::getValues ( )
inline

Yield property values.

@generator @yields {object}

Returns
{void}