\r\n

51Degrees Device Detection C/C++  4.4

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

fiftyoneDegreesConfigDeviceDetection Struct Reference

Detailed Description

Device detection configuration structure containing device detection specific configuration options, and options that apply to structures and methods in device detection libraries.

Collaboration diagram for fiftyoneDegreesConfigDeviceDetection:

[legend]

Data Fields

fiftyoneDegreesConfigBase  b
Base structure members.
bool  updateMatchedUserAgent
True if the detection should record the matched characters from the target User-Agent.
size_t  maxMatchedUserAgentLength
Number of characters to consider in the matched User-Agent. More...
bool  allowUnmatched
True if there should be at least one matched node in order for the results to be considered valid. More...

Field Documentation

◆ allowUnmatched

bool fiftyoneDegreesConfigDeviceDetection::allowUnmatched

True if there should be at least one matched node in order for the results to be considered valid.

By default, this is false

◆ maxMatchedUserAgentLength

size_t fiftyoneDegreesConfigDeviceDetection::maxMatchedUserAgentLength

Number of characters to consider in the matched User-Agent.

Ignored if updateMatchedUserAgent is false.


The documentation for this struct was generated from the following file:
  • /home/runner/work/device-detection-cxx/device-detection-cxx/common/device-detection-cxx/src/config-dd.h
On This Page