Click or drag to resize

BarcodeManager Class

To decode bar codes with this class, use the following steps:
  1. Obtain an instance of BarcodeManager with [C:Com.Datalogic.Decode.BarcodeManager]. -
  2. To begin a decode session, call StartDecode. Your registered StartListener/ReadListener/TimeoutListener will be called when a successful decode occurs or if the configured timeout expires, etc.. -
  3. Call StopDecode to end the decode session. -
Important: Call Release to release all registered StartListener/ReadListener/TimeoutListener/StopListener.
Inheritance Hierarchy
Object
  Com.Datalogic.DecodeBarcodeManager

Namespace:  Com.Datalogic.Decode
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class BarcodeManager : Object, 
	IPropertyEditor, IPropertyGetter, IJavaObject, IDisposable, IJavaPeerable

The BarcodeManager type exposes the following members.

Constructors
  NameDescription
Public methodBarcodeManager
Initializes a new instance of the BarcodeManager class
Top
Properties
  NameDescription
Public propertyIsInitialized
Checks if the Scanner Service is correctly initialized.
Public propertyJniPeerMembers
To be added.
Public propertyStatic memberKeycodeBarcode
Android keycode representing the scanning functionality, in accordance with [!:NoType:http://datalogic.github.io/android-sdk-docs/reference/android/view/KeyEvent;Href=http://datalogic.github.io/android-sdk-docs/reference/android/view/KeyEvent.html]
Top
Methods
  NameDescription
Public methodAddDeinitListener
Registers a IDeinitListener
Public methodAddFrameCaptureListener
Public methodAddFrameSaveListener
Registers a IFrameSaveListener
Public methodAddInitListener
Registers a IInitListener
Public methodAddPresentationStateListener
Public methodAddReadListener

Registers a IReadListener to be notified when a read event is triggered. "

Public methodAddStartListener
Registers a IStartListener to be notified when a scan started event is triggered.
Public methodAddStopListener
Registers a IStopListener to be notified when a scan stopped event is triggered. Call RemoveStopListener(IStopListener) before the application closes to properly shut down the listener.
Public methodAddTimeoutListener
Registers a ITimeoutListener
Public methodCommitProperties
Saves the configuration.
Public methodEnableAllSymbologies
Enables or disables all supported symbologies.
Public methodEnableSymbology
Enables or disables a barcode symbology type.
Public methodGetPropertyAvailability
Retrieves the availability, the support, for the passed programming parameters.
Public methodGetPropertyInts
Gets one or more label programming parameters of type Integer.
Public methodGetPropertyRanges
Gets one or more property ranges for the passed programming parameters.
Public methodGetPropertyStrings
Gets one or more label programming parameters of type String.
Public methodIsSymbologyEnabled
Returns current enable setting for a particular barcode symbology.
Public methodIsSymbologySupported
Return true if the device's decoder is able to read a particular barcode symbology.
Public methodPressTrigger
Call this method to simulate a trigger button pressure.
Public methodRelease
Removes and clears all the registered listeners, in case some application did not call removal methods.
Public methodReleaseTrigger
Call this method to simulate a release of a the trigger button.
Public methodRemoveDeinitListener
Unregisters a IDeinitListener
Public methodRemoveFrameCaptureListener
Unregisters a IFrameCaptureListener
Public methodRemoveFrameSaveListener
Unregisters a IFrameSaveListener
Public methodRemoveInitListener
Unregisters a IInitListener
Public methodRemovePresentationStateListener
Public methodRemoveReadListener
Unregisters a IReadListener associated with the decoder.
Public methodRemoveStartListener
Unregisters a IStartListener associated with the decoder.
Public methodRemoveStopListener
Unregisters a IStopListener associated with the decoder.
Public methodRemoveTimeoutListener
Unregisters a ITimeoutListener associated with the decoder.
Public methodSetDefaults
Set factory defaults for all barcode symbology types.
Public methodSetPropertyInts
Sets one or more label programming parameters of type Integer.
Public methodSetPropertyStrings
Sets one or more label programming parameters of type String.
Public methodStartDecode
Call this method to start decoding.
Public methodStartDecode(Int32)
Call this method to start decoding.
Public methodStopDecode
This stops any data acquisition currently in progress.
Top
Fields
  NameDescription
Public fieldStatic memberActionStartDecode
Barcode start decode intent action.
Public fieldStatic memberActionStopDecode
Barcode stop decode intent action.
Top
Remarks
BarcodeManager gives developers access to decoder related methods of the device.

To decode bar codes with this class, use the following steps:

  1. Obtain an instance of BarcodeManager with [C:Com.Datalogic.Decode.BarcodeManager]. -
  2. To begin a decode session, call StartDecode. Your registered StartListener/ReadListener/TimeoutListener will be called when a successful decode occurs or if the configured timeout expires, etc.. -
  3. Call StopDecode to end the decode session. -
Important: Call Release to release all registered StartListener/ReadListener/TimeoutListener/StopListener.

[Android Documentation]

See Also