ModelFileProvider

A FileProvider for the models.

This component is responsible for preloading the bundled models to the App's private external storage and generating a URI for the specified model.

See also

Constructors

Link copied to clipboard
constructor()

Creates a ModelFileProvider.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the class that implements the repository pattern for the models.

Link copied to clipboard

the class that implements the PreferencesDataStore interface.

Functions

Link copied to clipboard
open override fun onCreate(): Boolean

A lifecycle callback method that overrides FileProvider.onCreate.