LumenAiHost

interface LumenAiHost(source)

Properties

Link copied to clipboard
Link copied to clipboard
abstract val settings: AiSettings

The user's settings; read each time they're needed, so changes apply at once.

Functions

Link copied to clipboard
abstract suspend fun library(context: Context): List<MediaRef>

Everything the background indexers should cover, with the app's own exclusions applied.

Link copied to clipboard
open fun videoSource(context: Context, item: MediaRef): MediaDataSource?

For media Android can't open by MediaRef.uri, such as an app's own encrypted files: a data source the library closes when it's done. Null (the default) reads the URI.