Package openfoodfacts. github. scrachx. openfood. features. simplescan
Types
Link copied to clipboard
Link copied to clipboard
class SimpleScanActivityContract : ActivityResultContract<Unit, Barcode?>
Content copied to clipboard
Returns a string containing the product barcode.
Link copied to clipboard
data class SimpleScanScannerOptions( val mlScannerEnabled: Boolean, val cameraState: CameraState, val autoFocusEnabled: Boolean, val flashEnabled: Boolean)
Content copied to clipboard
Link copied to clipboard
class SimpleScanViewModel @Inject constructor(scannerPrefsRepository: ScannerPreferencesRepository, dispatchers: CoroutineDispatchers) : ViewModel
Content copied to clipboard