Note
This API is still in beta and may change in future versions of Scandit Data Capture SDK.
Scan Component Definition
Defined in package com.scandit.datacapture.usi.capture.component
- ScanComponentDefinition
interface ScanComponentDefinition<T>
Added in version 8.0.0
interface implemented by the different kinds of components that can be used to define a ScanItemDefinition.
- identifier
@NonNull
TgetIdentifier()Added in version 8.0.0
The unique identifier for this scanned item. May be either BarcodeIdentifier or TextIdentifier
- location
@Nullable Quadrilateral getLocation()
voidsetLocation(@Nullable Quadrilateral value)Added in version 8.0.0
The expected location of the code.
- optional
booleangetOptional()voidsetOptional(booleanvalue)Added in version 8.0.0
Whether the code is optional in the ScanItemDefinition.