UserPreferences

data class UserPreferences(var minDetectCertainty: Float = Default.minDetectCertainty, var maxObjectDetections: Int = Default.maxObjectsDetections, var enableAnimations: Boolean = Default.enableAnimations, var selectedModel: String = Default.selectedModel, var savePictures: Boolean = Default.savePictures)

Constructors

Link copied to clipboard
constructor(minDetectCertainty: Float = Default.minDetectCertainty, maxObjectDetections: Int = Default.maxObjectsDetections, enableAnimations: Boolean = Default.enableAnimations, selectedModel: String = Default.selectedModel, savePictures: Boolean = Default.savePictures)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun saveIn(storage: DataStore<Preferences>): Preferences