Indexing

Background indexing. It runs while the phone charges (or as set in LumenAiConfig), in short jobs, and stops when the phone gets warm or the battery is low.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun runNow(context: Context)

Indexes the newest items now, charging or not (a model download does this itself).

Link copied to clipboard
fun start(context: Context)

Makes sure indexing is scheduled. Cheap; call it at app start.

Link copied to clipboard
fun stop(context: Context)

Stops indexing until start is called again.