-
public class StorageServiceProvides utility methods to sync model files to external storage to allow C++ code access them. Relies on file named "uuid" to track updates.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceStorageService.Callback
-
Method Summary
Modifier and Type Method Description static voidunpack(Context context, String sourcePath, String targetPath, StorageService.Callback<Model> completeCallback, StorageService.Callback<IOException> errorCallback)static Stringsync(Context context, String sourcePath, String targetPath)-
-
Method Detail
-
unpack
static void unpack(Context context, String sourcePath, String targetPath, StorageService.Callback<Model> completeCallback, StorageService.Callback<IOException> errorCallback)
-
-
-
-