java.lang.Object | ||
↳ | com.datalogic.device.configuration.PropertyGroup | |
↳ | com.datalogic.decode.configuration.IntentWedge |
IntentWedge
is the class that configures the Decode Wedge
capability with the intent mode. This means that the label is sent to the
foreground application in the form of an implicit intent. In order to
retrieve the label type string, "com.datalogic.decodewedge.label_type" is the
name argument to be used with Intent.getStringExtra(). In order to retrieve
the output data as string, "com.datalogic.decodewedge.data_string" is the
name argument to be used with Intent.getStringExtra() . In case of
concatenated barcodes, the decode data is concatenated and sent out as a
single string. In order to retrieve the output data as a list of byte arrays,
"com.datalogic.decodewedge.decode_data" is the name argument to be used with
Intent.getSerializableExtra(). For barcode symbologies that support
concatenation, the decode data is stored in multiple byte arrays (one byte
array per bar code). Clients can get data in each byte array by passing an
index.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | EXTRA_BARCODE_AIM_ID | When the IntentWedge is sent to a listening application, the decoded label AIM id is dispatched under a specific String extra with the following name, by default. | |||||||||
String | EXTRA_BARCODE_DATA | When the IntentWedge is sent to a listening application, the decoded label is dispatched under a specific byte array extra with the following name, by default. | |||||||||
String | EXTRA_BARCODE_STRING | When the IntentWedge is sent to a listening application, the decoded label is dispatched under a specific String extra with the following name, by default. | |||||||||
String | EXTRA_BARCODE_TYPE | When the IntentWedge is sent to a listening application, the decoded label type is dispatched under a specific String extra with the following name, by default. | |||||||||
String | EXTRA_BARCODE_USER_ID | When the IntentWedge is sent to a listening application, the decoded label user id is dispatched under a specific String extra with the following name, by default. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
action | action is the intent action name. |
||||||||||
category | category is the intent category name. |
||||||||||
deliveryMode | deliveryMode indicates the method by which the intent is
delivered. |
||||||||||
enable | enable sets the intent mode. |
||||||||||
excludeEmptyValues | excludeEmptyValues is set to true to exclude the empty strings in the intent wedge fields. |
||||||||||
extraBarcodeAimId | extraBarcodeAimId indicates the corresponding intent extra tag, associated to a string containing the AIM id of the read label. |
||||||||||
extraBarcodeData | extraBarcodeData indicates the corresponding intent extra tag, associated to a byte array containing the read label. |
||||||||||
extraBarcodeString | extraBarcodeString indicates the corresponding intent extra tag, associated to a string containing the read label. |
||||||||||
extraBarcodeType | extraBarcodeType indicates the corresponding intent extra tag, associated to a string containing the type of read label. |
||||||||||
extraBarcodeUserId | extraBarcodeUserId indicates the corresponding intent extra tag, associated to a string containing the user id of the read label. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This is the constructor of IntentWedge.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.datalogic.device.configuration.PropertyGroup
| |||||||||||
From class
java.lang.Object
|
When the IntentWedge is sent to a listening application, the decoded label AIM id is dispatched under a specific String extra with the following name, by default.
When the IntentWedge is sent to a listening application, the decoded label is dispatched under a specific byte array extra with the following name, by default.
When the IntentWedge is sent to a listening application, the decoded label is dispatched under a specific String extra with the following name, by default.
When the IntentWedge is sent to a listening application, the decoded label type is dispatched under a specific String extra with the following name, by default.
When the IntentWedge is sent to a listening application, the decoded label user id is dispatched under a specific String extra with the following name, by default.
action
is the intent action name. The default value is
"com.datalogic.decodewedge.decode_action".
category
is the intent category name. The default value is
"com.datalogic.decodewedge.decode_category".
deliveryMode
indicates the method by which the intent is
delivered. The default value is INTENT_DELIVERY_MODE_ENUM.BROADCAST.
excludeEmptyValues
is set to true to exclude the empty strings in the intent wedge fields.
This considers all extras' names and the category, while the action is always included in the intent.
The default value is false.
extraBarcodeAimId
indicates the corresponding intent extra tag, associated to a string containing the AIM id of the read label.
The default value is EXTRA_BARCODE_AIM_ID
.
extraBarcodeData
indicates the corresponding intent extra tag, associated to a byte array containing the read label.
The default value is EXTRA_BARCODE_DATA
.
extraBarcodeString
indicates the corresponding intent extra tag, associated to a string containing the read label.
The default value is EXTRA_BARCODE_STRING
.
extraBarcodeType
indicates the corresponding intent extra tag, associated to a string containing the type of read label.
The default value is EXTRA_BARCODE_TYPE
.
extraBarcodeUserId
indicates the corresponding intent extra tag, associated to a string containing the user id of the read label.
The default value is EXTRA_BARCODE_USER_ID
.
This is the constructor of IntentWedge. All options are initialized by editor.
editor | A PropertyGetter used to load the current barcode family.
|
---|