toggle menu
Stripe Terminal Android SDK (v5.3.0)
switch theme
search in API
external
/
com.stripe.stripeterminal.external.models
/
ScanOptions
/
Builder
/
setFormats
set
Formats
fun
setFormats
(
formats
:
Set
<
BarcodeFormat
>
)
:
ScanOptions.Builder
Sets the barcode formats to scan for.
Parameters
formats
The set of barcode formats. Must not be empty.