public abstract class BaseDeviceAtlasApi extends java.lang.Object implements DeviceAtlasApi
Constructor and Description |
---|
BaseDeviceAtlasApi() |
Modifier and Type | Method and Description |
---|---|
void |
downloadAndLoadDataFile(DataFile dataFile)
Load the DeviceAtlas data file data from a URL.
|
void |
downloadAndLoadDataFile(java.lang.String dataFileDownloadUrl)
Load the DeviceAtlas data file from a URL.
|
long |
getDetectionLookupCount() |
boolean |
isDataFileReload() |
void |
resetDetectionLookupCount() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDeviceAtlasApiVersion, loadDataFromFile
public void downloadAndLoadDataFile(DataFile dataFile) throws DataLoadingException
downloadAndLoadDataFile
in interface DeviceAtlasApi
dataFile
- Data file configurationDataLoadingException
- when there is a problem downloading or loading the data file.public void downloadAndLoadDataFile(java.lang.String dataFileDownloadUrl) throws DataLoadingException
downloadAndLoadDataFile
in interface DeviceAtlasApi
dataFileDownloadUrl
- The URL to download the data file from.DataLoadingException
- when there is a problem downloading or loading the data file.public void resetDetectionLookupCount()
resetDetectionLookupCount
in interface DeviceAtlasApi
public long getDetectionLookupCount()
getDetectionLookupCount
in interface DeviceAtlasApi
public boolean isDataFileReload()
isDataFileReload
in interface DeviceAtlasApi
Copyright © 2023 DeviceAtlas Limited. All rights reserved.