liveText

suspend fun liveText(context: Context, item: MediaRef): LiveText.Result?(source)

The lines of text in a photo, with their positions, for selecting and copying. Instant for indexed photos; others are read now (about a second) and kept. Null when it has no text or the Text feature isn't downloaded.


suspend fun liveText(context: Context, item: MediaRef, atMs: Long): LiveText.Result?(source)

The text in one frame of a video, at atMs: for a paused video.