DartBridgeFileManager class

File manager bridge to C++ rac_file_manager. C++ owns business logic; Dart provides thin I/O callbacks. Matches iOS CppBridge+FileManager.swift / Kotlin CppBridgeFileManager.kt.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance DartBridgeFileManager
final

Static Methods

cacheSize() int
Get cache size.
calculateDirectorySize(String path) int
Calculate directory size recursively.
checkStorage(int requiredBytes) bool
Check storage availability for a given number of bytes. Convenience wrapper that returns a simple bool.
checkStorageAvailability(int requiredBytes) NativeStorageAvailability?
Check storage availability via C++ rac_file_manager_check_storage. Returns full availability result including warnings and recommendations.
clearCache() bool
Clear cache directory.
clearTemp() bool
Clear temp directory.
createDirectoryStructure() bool
Create directory structure (Models, Cache, Temp, Downloads).
createModelFolder(String modelId, int framework) String?
Create a model folder and return its path.
deleteModel(String modelId, int framework) bool
Delete a model folder.
getStorageInfo() NativeStorageInfo?
Get combined storage information.
modelFolderExists(String modelId, int framework) bool
Check if a model folder exists.
modelFolderHasContents(String modelId, int framework) bool
Check if a model folder exists AND has contents.
modelsStorageUsed() int
Get total models storage used.
register() → void
Register file manager callbacks. Call during SDK init.
unregister() → void
Cleanup