Click or drag to resize

BarcodeManagerActionStartDecode Field

Barcode start decode intent action.

Namespace:  Com.Datalogic.Decode
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public const string ActionStartDecode = "com.datalogic.decode.action.START_DECODE"

Field Value

Type: String
Remarks

Barcode start decode intent action. It is possible to start a capture session in order to scan a barcode from an application, sending a specific broadcast intent.


Example:

public int startDecodingIntent() {

&nbsp&nbspIntent myintent = new Intent();

&nbsp&nbspmyintent.setAction(ACTION_START_DECODE);

}

Otherwise application can associate this intent to a physical key code through the KeyboardManager mapIntent method.

[Android Documentation]

See Also