A device detection library that is used natively or by 51Degrees products

fiftyoneDegreesPropertyAvailable Struct Reference

Detailed Description

Used to access the property item quickly without the need to search.

Collaboration diagram for fiftyoneDegreesPropertyAvailable:

[legend]

Data Fields

uint32_t propertyIndex
 Index of the property in the collection of all properties.
fiftyoneDegreesCollectionItem name
 Name of the property from strings.
fiftyoneDegreesEvidenceProperties * evidenceProperties
 Evidence properties which are required by this property.
bool delayExecution
 True if the execution any JavaScript returned as a value of this property should be delayed.
byte componentIndex
 Index in the data set's component list of the component the property belongs to.
int32_t requiredPropertyIndex
 Index of the property in the names the caller gave, the first if the name was given more than once.

Field Documentation

◆ componentIndex

byte fiftyoneDegreesPropertyAvailable::componentIndex

Index in the data set's component list of the component the property belongs to.

Initialised to zero and set by the engine when it initialises its available components.

◆ delayExecution

bool fiftyoneDegreesPropertyAvailable::delayExecution

True if the execution any JavaScript returned as a value of this property should be delayed.

False if it should be run immediately. This is always initialized to false, so should be set by the calling function

◆ requiredPropertyIndex

int32_t fiftyoneDegreesPropertyAvailable::requiredPropertyIndex

Index of the property in the names the caller gave, the first if the name was given more than once.

When the caller named no property, the index of this item


The documentation for this struct was generated from the following file: