Click or drag to resize

PropertyID.WedgeIntentEnable Field

This parameter enables the intent mode for the Decode Wedge.

Namespace: Com.Datalogic.Device.Configuration
Assembly: datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
public const Int32 WedgeIntentEnable = "value"

Field Value

Type: Int32
Remarks
This parameter enables the intent mode for the Decode Wedge.

This means that the decoding results are always sent through an intent, such as broadcast, start activity or start sevice, according to the value of the property WEDGE_INTENT_DELIVERY_MODE.

The Decode Wedge can be configured to define the intent sent with the decoding result as expected by a given App. In particular, beside the delivery mode, common intent information can be configured, such as:

Moreover, some extra data can be configured to send custom information, such as symbology and read label:

  • the extra name where the symbology of the decoded barcode is provided as a String can be defined by the property WEDGE_INTENT_EXTRA_BARCODE_TYPE. This extra name shall be used as the name argument of Intent.getStringExtra() to retrieve the symbology of the decoded barcode.
  • the extra name where the read label of the decoded barcode is provided as a String can be configured by the property WEDGE_INTENT_EXTRA_BARCODE_STRING. This extra name shall be used as the name argument of Intent.getStringExtra() to retrieve the read label of the decoded barcode. For those barcode symbologies that support concatenation, the read labels are concatenated and sent as a single string.
  • the extra name where the read label of the decoded barcode is provided as a list of byte arrays can be configured by the property WEDGE_INTENT_EXTRA_BARCODE_DATA. This extra name shall be used as the name argument of Intent.getSerializableExtra() to retrieve the read label of the decoded barcode. For those 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.

The default value is disabled.

The class of the property is BooleanProperty.

[Android Documentation]

See Also