Detailed Description
Configuration for building device detection data sets.
Introduction
Configuration structure extending fiftyoneDegreesConfigBase type with options specific to device detection. This adds configuration options around how a User-Agent is handled.
For further info see FiftyOneDegreesConfig
Collaboration diagram for Device Detection Config:
Structs | |
| struct | fiftyoneDegreesConfigDeviceDetection |
| Device detection configuration structure containing device detection specific configuration options, and options that apply to structures and methods in device detection libraries. More... | |
Macros | |
| #define | FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_UPDATE_DEFAULT true |
| Default value for the FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_UPDATE macro. | |
| #define | FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_UNMATCHED false |
| Default value for allow unmatched used in the default configuration. | |
| #define | FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_SPECIAL_EVIDENCE true |
| #define | FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_UPDATE FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_UPDATE_DEFAULT |
| Update matched User-Agent setting used in the default configuration macro #FIFTYONE_DEGREES_DEVICE_DETECTION_CONFIG_DEFAULT. | |
| #define | FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_MAX_LENGTH 500 |
| Default limit in bytes for maxMatchedUserAgentLength. | |
| #define | FIFTYONE_DEGREES_DEVICE_DETECTION_CONFIG_DEFAULT_WITH_INDEX |
| Default value for the fiftyoneDegreesConfigDeviceDetection structure with index. | |
| #define | FIFTYONE_DEGREES_DEVICE_DETECTION_CONFIG_DEFAULT_NO_INDEX |
| Default value for the fiftyoneDegreesConfigDeviceDetection structure without index. | |
Macro Definition Documentation
◆ FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_MAX_LENGTH
| #define FIFTYONE_DEGREES_CONFIG_DEVICE_DETECTION_DEFAULT_MAX_LENGTH 500 |
Default limit in bytes for maxMatchedUserAgentLength.
No RFC or browser sets a limit on these headers. In the 20,000 evidence sample the longest pseudo header is 316 bytes and the longest User-Agent 331, with none over 500. A longer value is ignored, because in practice that does not happen.
◆ FIFTYONE_DEGREES_DEVICE_DETECTION_CONFIG_DEFAULT_NO_INDEX
| #define FIFTYONE_DEGREES_DEVICE_DETECTION_CONFIG_DEFAULT_NO_INDEX |
Default value for the fiftyoneDegreesConfigDeviceDetection structure without index.
◆ FIFTYONE_DEGREES_DEVICE_DETECTION_CONFIG_DEFAULT_WITH_INDEX
| #define FIFTYONE_DEGREES_DEVICE_DETECTION_CONFIG_DEFAULT_WITH_INDEX |
Default value for the fiftyoneDegreesConfigDeviceDetection structure with index.
