-
public abstract class BaseConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description private List<Uri>localFilesprivate IntegerdebugModeprivate final ContextappContextprivate final Stringkey
-
Constructor Summary
Constructors Constructor Description BaseConfiguration(Context appContext, String key)
-
Method Summary
Modifier and Type Method Description final List<Uri>getLocalFiles()This method requires that the correct files were already downloaded and that the Uris for these files are available. final UnitsetLocalFiles(List<Uri> localFiles)This method requires that the correct files were already downloaded and that the Uris for these files are available. final IntegergetDebugMode()Use debugMode = 1 to get more verbose logs. final UnitsetDebugMode(Integer debugMode)Use debugMode = 1 to get more verbose logs. final ContextgetAppContext()final StringgetKey()-
-
Method Detail
-
getLocalFiles
final List<Uri> getLocalFiles()
This method requires that the correct files were already downloaded and that the Uris for these files are available. Providing a list of Uris for the files needed for the SDK to work the SDK will copy them to it's internal directory (using the App's Cache folder). If the configuration process is completed by returning PassioMode.IS_READY_FOR_DETECTION, the files provided in the localFiles property can be deleted from the original location because the SDK will use the copies in the App's Cache folder.
-
setLocalFiles
final Unit setLocalFiles(List<Uri> localFiles)
This method requires that the correct files were already downloaded and that the Uris for these files are available. Providing a list of Uris for the files needed for the SDK to work the SDK will copy them to it's internal directory (using the App's Cache folder). If the configuration process is completed by returning PassioMode.IS_READY_FOR_DETECTION, the files provided in the localFiles property can be deleted from the original location because the SDK will use the copies in the App's Cache folder.
-
getDebugMode
final Integer getDebugMode()
Use debugMode = 1 to get more verbose logs.
-
setDebugMode
final Unit setDebugMode(Integer debugMode)
Use debugMode = 1 to get more verbose logs.
-
getAppContext
final Context getAppContext()
-
-
-
-