Skip to content

Commit 29f9693

Browse files
Automation51DAutomation51D
andauthored
Merged Pull Request '#509 properties-update/main->main: Update properties'
Co-authored-by: Automation51D <51DCI@51Degrees.com>
1 parent 59fcdf7 commit 29f9693

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,18 +1398,6 @@ 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); }
14131401
/**
14141402
* Indicates if the browser supports the WebP image format.
14151403
*/
@@ -1711,51 +1699,63 @@ protected DeviceDataBase(
17111699
@Override
17121700
public AspectPropertyValue<String> getCrawlerUrl() { return getAs("crawlerurl", AspectPropertyValue.class, String.class); }
17131701
/**
1714-
*
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.
17151703
*/
17161704
@SuppressWarnings("unchecked")
17171705
@Override
1718-
public AspectPropertyValue<String> getProfiles() { return getAs("profiles", AspectPropertyValue.class, String.class); }
1706+
public AspectPropertyValue<List<String>> getTAC() { return getAs("tac", AspectPropertyValue.class, List.class, String.class); }
17191707
/**
1720-
* The method used to determine the match result.
1708+
* Indicates the list of frequency bands supported by the device.
17211709
*/
17221710
@SuppressWarnings("unchecked")
17231711
@Override
1724-
public AspectPropertyValue<String> getMethod() { return getAs("method", AspectPropertyValue.class, String.class); }
1712+
public AspectPropertyValue<List<String>> getFrequencyBands() { return getAs("frequencybands", AspectPropertyValue.class, List.class, String.class); }
17251713
/**
1726-
* The matched User-Agents.
1714+
*
17271715
*/
17281716
@SuppressWarnings("unchecked")
17291717
@Override
1730-
public AspectPropertyValue<List<String>> getUserAgents() { return getAs("useragents", AspectPropertyValue.class, List.class, String.class); }
1718+
public AspectPropertyValue<String> getProfiles() { return getAs("profiles", AspectPropertyValue.class, String.class); }
1719+
/**
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.
1721+
*/
1722+
@SuppressWarnings("unchecked")
1723+
@Override
1724+
public AspectPropertyValue<Integer> getDifference() { return getAs("difference", AspectPropertyValue.class, Integer.class); }
17311725
/**
17321726
* 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.
17331727
*/
17341728
@SuppressWarnings("unchecked")
17351729
@Override
17361730
public AspectPropertyValue<Integer> getIterations() { return getAs("iterations", AspectPropertyValue.class, Integer.class); }
17371731
/**
1738-
* Total difference in character positions where the substrings hashes were found away from where they were expected.
1732+
* Consists of four components separated by a hyphen symbol: Hardware-Platform-Browser-IsCrawler where each Component represents an ID of the corresponding Profile.
17391733
*/
17401734
@SuppressWarnings("unchecked")
17411735
@Override
1742-
public AspectPropertyValue<Integer> getDrift() { return getAs("drift", AspectPropertyValue.class, Integer.class); }
1736+
public AspectPropertyValue<String> getDeviceId() { return getAs("deviceid", AspectPropertyValue.class, String.class); }
1737+
/**
1738+
* The method used to determine the match result.
1739+
*/
1740+
@SuppressWarnings("unchecked")
1741+
@Override
1742+
public AspectPropertyValue<String> getMethod() { return getAs("method", AspectPropertyValue.class, String.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-
* 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.
1750+
* The matched User-Agents.
17511751
*/
17521752
@SuppressWarnings("unchecked")
17531753
@Override
1754-
public AspectPropertyValue<Integer> getDifference() { return getAs("difference", AspectPropertyValue.class, Integer.class); }
1754+
public AspectPropertyValue<List<String>> getUserAgents() { return getAs("useragents", AspectPropertyValue.class, List.class, String.class); }
17551755
/**
1756-
* Consists of four components separated by a hyphen symbol: Hardware-Platform-Browser-IsCrawler where each Component represents an ID of the corresponding Profile.
1756+
* Total difference in character positions where the substrings hashes were found away from where they were expected.
17571757
*/
17581758
@SuppressWarnings("unchecked")
17591759
@Override
1760-
public AspectPropertyValue<String> getDeviceId() { return getAs("deviceid", AspectPropertyValue.class, String.class); }
1760+
public AspectPropertyValue<Integer> getDrift() { return getAs("drift", AspectPropertyValue.class, Integer.class); }
17611761
}

0 commit comments

Comments
 (0)