Package 

Class PassioConfiguration

    • Constructor Detail

      • PassioConfiguration

        PassioConfiguration(Context appContext, String key)
        Parameters:
        appContext - the application Context.
        key - developer key provided by the Passio platform.
    • 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.