Android Programming Press on the image to return to the main documentation page.

iBarcode

List of types:

BarcodeCode
BarcodeScanner

BarcodeCode


Events:

None

Members:


  IsInitialized As Boolean

  Tag As Object

  Value As String [read only]

Members description:

IsInitialized As Boolean
Tests whether this object was initialized.
Tag As Object
Gets or sets the Tag object. This is a placeholder for any object you like to tie to this object.
Value As String [read only]
Returns the code string value.

BarcodeScanner

The BarcodeScanner uses the device camera to scan for barcode codes.
The Ready event will be raised after the scanner is initialized.
Once the scanner is ready you can call Start to start scanning.
The Detected event will be raised whenever a code is detected.

Events:

Ready (Success As Boolean)
Detected (Codes As List)

Members:


  AllowTapToFocus As Boolean

  Initialize (EventName As String, View As Object)

  Initialize2 (EventName As String, View As Object, Types As List)

  Resize

  Start

  Stop

  TORCH_AUTO As Int [read only]

  TORCH_OFF As Int [read only]

  TORCH_ON As Int [read only]

  TorchMode As Int

  TYPE_128 As String [read only]

  TYPE_39 As String [read only]

  TYPE_39Mod43 As String [read only]

  TYPE_93 As String [read only]

  TYPE_DataMatrix As String [read only]

  TYPE_EAN13 As String [read only]

  TYPE_EAN8 As String [read only]

  TYPE_Interleaved2of5 As String [read only]

  TYPE_ITF14 As String [read only]

  TYPE_PDF417 As String [read only]

  TYPE_QR As String [read only]

  TYPE_UPCE As String [read only]

Members description:

AllowTapToFocus As Boolean
Gets or sets whether the user can tap on the screen to focus the camera. Default value is true.
Initialize (EventName As String, View As Object)
Initializes the scanner. The Ready event will be raised when the scanner is ready.
EventName - Sets the subs that handle the events.
View - The preview panel.
Initialize2 (EventName As String, View As Object, Types As List)
Similar to Initialize. Will only detect codes that match one of the types from the Types list (or array).
Resize
Resizes the preview frame to match the preview view.
Start
Starts scanning.
Stop
Stops scanning.
TORCH_AUTO As Int [read only]
TORCH_OFF As Int [read only]
TORCH_ON As Int [read only]
TorchMode As Int
Gets or sets the camera torch mode. One of the TORCH constants.
TYPE_128 As String [read only]
TYPE_39 As String [read only]
TYPE_39Mod43 As String [read only]
TYPE_93 As String [read only]
TYPE_DataMatrix As String [read only]
iOS 8+ only
TYPE_EAN13 As String [read only]
TYPE_EAN8 As String [read only]
TYPE_Interleaved2of5 As String [read only]
iOS 8+ only
TYPE_ITF14 As String [read only]
iOS 8+ only
TYPE_PDF417 As String [read only]
TYPE_QR As String [read only]
TYPE_UPCE As String [read only]

Top