Device detection services for 51Degrees Pipeline

fiftyone.devicedetection.shared.Constants Class Reference

Static Public Attributes

static final String EVIDENCE_TAC_SUFFIX = "tac"
 The suffix that is used to identify a TAC in evidence.
static final String EVIDENCE_QUERY_TAC_KEY
 The complete key for supplying a TAC as evidence.
static final String EVIDENCE_NATIVE_MODEL_SUFFIX = "nativemodel"
 The suffix that is used to identify a native model name in evidence.
static final String EVIDENCE_QUERY_NATIVE_MODEL_KEY
 The complete key for supplying a native model name as evidence.

Member Data Documentation

◆ EVIDENCE_NATIVE_MODEL_SUFFIX

final String fiftyone.devicedetection.shared.Constants.EVIDENCE_NATIVE_MODEL_SUFFIX = "nativemodel"
static

The suffix that is used to identify a native model name in evidence.

This is the text returned by https://developer.android.com/reference/android/os/Build#MODEL for Android devices and by https://gist.github.com/soapyigu/c99e1f45553070726f14c1bb0a54053b#file-machinename-swift for iOS devices.

◆ EVIDENCE_QUERY_NATIVE_MODEL_KEY

final String fiftyone.devicedetection.shared.Constants.EVIDENCE_QUERY_NATIVE_MODEL_KEY
static
Initial value:
=
EVIDENCE_QUERY_PREFIX +
EVIDENCE_SEPERATOR +
static final String EVIDENCE_NATIVE_MODEL_SUFFIX
The suffix that is used to identify a native model name in evidence.
Definition device-detection.shared/src/main/java/fiftyone/devicedetection/shared/Constants.java:52

The complete key for supplying a native model name as evidence.

◆ EVIDENCE_QUERY_TAC_KEY

final String fiftyone.devicedetection.shared.Constants.EVIDENCE_QUERY_TAC_KEY
static
Initial value:
=
EVIDENCE_QUERY_PREFIX +
EVIDENCE_SEPERATOR +
static final String EVIDENCE_TAC_SUFFIX
The suffix that is used to identify a TAC in evidence.
Definition device-detection.shared/src/main/java/fiftyone/devicedetection/shared/Constants.java:34

The complete key for supplying a TAC as evidence.

◆ EVIDENCE_TAC_SUFFIX

final String fiftyone.devicedetection.shared.Constants.EVIDENCE_TAC_SUFFIX = "tac"
static

The suffix that is used to identify a TAC in evidence.

https://en.wikipedia.org/wiki/Type_Allocation_Code