Skip to content

Commit 4717b3b

Browse files
Automation51DAutomation51D
andauthored
Merged Pull Request '#511 properties-update/main->main: Update properties'
Co-authored-by: Automation51D <51DCI@51Degrees.com>
1 parent 0c543a2 commit 4717b3b

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

device-detection.shared/src/main/java/fiftyone/devicedetection/shared/DeviceDataBase.java

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,18 @@ protected DeviceDataBase(
13981398
@SuppressWarnings("unchecked")
13991399
@Override
14001400
public AspectPropertyValue<Boolean> getInVRMode() { return getAs("invrmode", AspectPropertyValue.class, Boolean.class); }
1401+
/**
1402+
* Indicates the Type Allocation Code (TAC) for devices supporting GSM/3GPP networks which come from multiple sources. This property will return 'N/A' if we cannot determine the device TAC authenticy.
1403+
*/
1404+
@SuppressWarnings("unchecked")
1405+
@Override
1406+
public AspectPropertyValue<List<String>> getTAC() { return getAs("tac", AspectPropertyValue.class, List.class, String.class); }
1407+
/**
1408+
* Indicates the list of frequency bands supported by the device.
1409+
*/
1410+
@SuppressWarnings("unchecked")
1411+
@Override
1412+
public AspectPropertyValue<List<String>> getFrequencyBands() { return getAs("frequencybands", AspectPropertyValue.class, List.class, String.class); }
14011413
/**
14021414
* Indicates if the browser supports the WebP image format.
14031415
*/
@@ -1698,64 +1710,52 @@ protected DeviceDataBase(
16981710
@SuppressWarnings("unchecked")
16991711
@Override
17001712
public AspectPropertyValue<String> getCrawlerUrl() { return getAs("crawlerurl", AspectPropertyValue.class, String.class); }
1701-
/**
1702-
* Indicates the Type Allocation Code (TAC) for devices supporting GSM/3GPP networks which come from multiple sources. This property will return 'N/A' if we cannot determine the device TAC authenticy.
1703-
*/
1704-
@SuppressWarnings("unchecked")
1705-
@Override
1706-
public AspectPropertyValue<List<String>> getTAC() { return getAs("tac", AspectPropertyValue.class, List.class, String.class); }
1707-
/**
1708-
* Indicates the list of frequency bands supported by the device.
1709-
*/
1710-
@SuppressWarnings("unchecked")
1711-
@Override
1712-
public AspectPropertyValue<List<String>> getFrequencyBands() { return getAs("frequencybands", AspectPropertyValue.class, List.class, String.class); }
17131713
/**
17141714
*
17151715
*/
17161716
@SuppressWarnings("unchecked")
17171717
@Override
17181718
public AspectPropertyValue<String> getProfiles() { return getAs("profiles", AspectPropertyValue.class, String.class); }
17191719
/**
1720-
* Used when detection method is not Exact or None. This is an integer value and the larger the value the less confident the detector is in this result.
1720+
* The method used to determine the match result.
17211721
*/
17221722
@SuppressWarnings("unchecked")
17231723
@Override
1724-
public AspectPropertyValue<Integer> getDifference() { return getAs("difference", AspectPropertyValue.class, Integer.class); }
1724+
public AspectPropertyValue<String> getMethod() { return getAs("method", AspectPropertyValue.class, String.class); }
17251725
/**
1726-
* The number of iterations carried out in order to find a match. This is the number of nodes in the graph which have been visited.
1726+
* The matched User-Agents.
17271727
*/
17281728
@SuppressWarnings("unchecked")
17291729
@Override
1730-
public AspectPropertyValue<Integer> getIterations() { return getAs("iterations", AspectPropertyValue.class, Integer.class); }
1730+
public AspectPropertyValue<List<String>> getUserAgents() { return getAs("useragents", AspectPropertyValue.class, List.class, String.class); }
17311731
/**
1732-
* Consists of four components separated by a hyphen symbol: Hardware-Platform-Browser-IsCrawler where each Component represents an ID of the corresponding Profile.
1732+
* The number of iterations carried out in order to find a match. This is the number of nodes in the graph which have been visited.
17331733
*/
17341734
@SuppressWarnings("unchecked")
17351735
@Override
1736-
public AspectPropertyValue<String> getDeviceId() { return getAs("deviceid", AspectPropertyValue.class, String.class); }
1736+
public AspectPropertyValue<Integer> getIterations() { return getAs("iterations", AspectPropertyValue.class, Integer.class); }
17371737
/**
1738-
* The method used to determine the match result.
1738+
* Total difference in character positions where the substrings hashes were found away from where they were expected.
17391739
*/
17401740
@SuppressWarnings("unchecked")
17411741
@Override
1742-
public AspectPropertyValue<String> getMethod() { return getAs("method", AspectPropertyValue.class, String.class); }
1742+
public AspectPropertyValue<Integer> getDrift() { return getAs("drift", AspectPropertyValue.class, Integer.class); }
17431743
/**
17441744
* Indicates the number of hash nodes matched within the evidence.
17451745
*/
17461746
@SuppressWarnings("unchecked")
17471747
@Override
17481748
public AspectPropertyValue<Integer> getMatchedNodes() { return getAs("matchednodes", AspectPropertyValue.class, Integer.class); }
17491749
/**
1750-
* The matched User-Agents.
1750+
* Used when detection method is not Exact or None. This is an integer value and the larger the value the less confident the detector is in this result.
17511751
*/
17521752
@SuppressWarnings("unchecked")
17531753
@Override
1754-
public AspectPropertyValue<List<String>> getUserAgents() { return getAs("useragents", AspectPropertyValue.class, List.class, String.class); }
1754+
public AspectPropertyValue<Integer> getDifference() { return getAs("difference", AspectPropertyValue.class, Integer.class); }
17551755
/**
1756-
* Total difference in character positions where the substrings hashes were found away from where they were expected.
1756+
* Consists of four components separated by a hyphen symbol: Hardware-Platform-Browser-IsCrawler where each Component represents an ID of the corresponding Profile.
17571757
*/
17581758
@SuppressWarnings("unchecked")
17591759
@Override
1760-
public AspectPropertyValue<Integer> getDrift() { return getAs("drift", AspectPropertyValue.class, Integer.class); }
1760+
public AspectPropertyValue<String> getDeviceId() { return getAs("deviceid", AspectPropertyValue.class, String.class); }
17611761
}

0 commit comments

Comments
 (0)