Simple Scan Activity Contract
class SimpleScanActivityContract : ActivityResultContract<Unit, Barcode?>
Content copied to clipboard
Returns a string containing the product barcode.
Constructors
Types
Functions
Link copied to clipboard
Link copied to clipboard
open fun getSynchronousResult(context: Context, input: Unit): ActivityResultContract.SynchronousResult<Barcode?>?
Content copied to clipboard
Link copied to clipboard
open override fun parseResult(resultCode: Int, intent: Intent?): Barcode?
Content copied to clipboard