The Barcode Module provides access to control the functionality of the device’s scanner. Because RhoMobile Suite is designed to run on both Consumer devices and Zebra Technologies' enterprise devices support for the Barcode API will vary for each method and propertie depending on which platform you are running on. Please note that a lot these APIs are optimized for the extended functionality that Zebra Technologies devices provide. Check the platform indicators in each property or method section. In general if you are developing for a consumer device the number of symbologies available to you will be limited to just the most common ones, eg EAN13, UPCA etc and your scanning will be via the device camera. If your application is running on Zebra Technologies' hardware you will have much finer control over a more fully featured Scanner, often with a choice of scanner hardware on the device. In general if you wish to capture a single barcode in a ‘one shot’ use case, eg your App just wants to capture a single barcode to be submitted to a price comparison website then use Barcode.take(callback); if your application is expecting a number of barcodes to be received, common in enterprise scenarios for example a user in a warehouse then use Barcode.enable(callback). The Barcode API will not run on non-Zebra Windows Mobile / CE devices.
Only the foreground RhoElements application is given access to the scanning hardware, when an application is sent to the background its state will be saved and it will automatically relinquish control of the scanner. When brought back to the foreground, an application previously using the barcode API will have its previous configuration reapplied automatically. In VC70 scanner will work only if connected in SSI Mode.
Enabling the API
In order to use this API you must include the following extension in your build.yml
extensions: ["barcode"]
The barcode
extension is also included automatically if you specify the following in your build.yml
app_type: "rhoelements"
JavaScript Usage
Be sure to review the JavaScript API Usage guide for important information about using this API in JavaScript
Ruby Usage
Be sure to review the Ruby API Usage guide for important information about using this API in Ruby
Methods
barcode_recognize(STRING imageFilePath)
Deprecated Recognizes a barcode on an image. Returns a string with recognized code, or empty string if the barcode is not recognized.
Synchronous Return:
- STRING : string with recognized code, or empty string if the barcode is not recognized
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.barcode_recognize(STRING imageFilePath)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.barcode_recognize(STRING imageFilePath)
- Ruby:
Rho::Barcode.barcode_recognize(STRING imageFilePath)
commandRemoteScanner(STRING command)
Instruct the connected RS507 scanner to perform some action
Parameters
- command : STRING
The action the RS507 scanner should perform, can be 'Disconnect' which disconnects the bluetooth RS507; 'unpair' which unpairs the RS507 from the device for association with another device; 'StartPaging' or 'StopPaging' which will cause the RS507 scanner to start or stop emitting a beep, to allow it to be located.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.commandRemoteScanner(STRING command)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.commandRemoteScanner(STRING command)
- Ruby:
Rho::Barcode.commandRemoteScanner(STRING command)
disable()
Disables the barcode scanner. This reverts the scanner to its default state and flushes any current decoder settings.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.disable()
- Ruby:
Rho::Barcode.disable()
enable(HASH propertyMap, CallBackHandler callback)
Enabling the scanner puts it in a state where it will respond to the trigger (on devices with a hardware trigger) or will accept a command to initiate a soft scan (start method). Scanned barcodes will be available to the application through the callback provided to this method. Only one scanner on the device can be enabled at any one time, to switch between the imager and camera scanners (for example) then first disable the currently enabled scanner. If you do not specify a callback to this method you will received the scanned data as keystrokes. Note that it is necessary to enable the scanner on WM/CE devices prior to being able to retrieve the state of properties.
|
This method replaces Barcode.enable from RhoElements 2.2 and takes a different prototype, no longer taking a 'deviceName' parameter this method can now be called on the individual scanner instances returned by Barcode.enumerate to control which hardware scanner on the device is enabled. Please consider using Barcode.take if you only require a 'single shot' scan and Barcode.enable if your user will be using the trigger to return scan events. |
Parameters
- propertyMap : HASH Optional
Proivde a set of properties to configure the scanner, for example enable specific symbologies or check digits. Valid `properties` for this parameter are the properties avaliable to this API module. Check the property section Not providing properties to this function will use the scanner's default properties, or those previously set on the Scanner instance
- callback : CallBackHandler Optional
Async Callback Returning Parameters: HASH
- data : STRING
The data decoded by the scanner or imaging device
- source : STRING
The source device and human readable decoder type of the decoded barcode or symbol
- type : STRING
Hex value representing the decoder type
- time : STRING
The time at which the decode occurred (hh:mm:ss)
- length : STRING
The length of the decoded barcode or symbol
- direction : STRING
The direction the barcode was scanned, either forward, reverse or unavailable
Synchronous Return:
- Void : this method also supports async callbacks - check the Callback tab for callback return parameters.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.enable(HASH propertyMap, CallBackHandler callback)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.enable(HASH propertyMap, CallBackHandler callback)
- Ruby:
Rho::Barcode.enable(HASH propertyMap, CallBackHandler callback)
enumerate(CallBackHandler callback)
getAllProperties(CallBackHandler callback)
This method will return all of object/value pairs for the propertyNames of the API class.
Parameters
- callback : CallBackHandler Optional
Async Callback Returning Parameters: HASH
Synchronous Return:
- HASH : Map of all available properties : this method also supports async callbacks - check the Callback tab for callback return parameters.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.getAllProperties(CallBackHandler callback)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.getAllProperties(CallBackHandler callback)
- Ruby:
Rho::Barcode.getAllProperties(CallBackHandler callback)
getDefault()
This method will return an object that represents the default instance of the API Class. For example Camera.getDefault will return a Camera object that represents the default camera.
Synchronous Return:
- SELF_INSTANCE : Default object of Module.
Method Access:
-
Class Method: This method can only be accessed via the API class object.
- JavaScript:
Rho.Barcode.getDefault()
- Ruby:
Rho::Barcode.getDefault()
getProperties(ARRAY arrayofNames, CallBackHandler callback)
This method will return a set of object/value pairs for the list of the propertyName that is passed in. The propertyNames must be a valid property of the API class.
Async Callback Returning Parameters: HASH
Synchronous Return:
- HASH : Map of properties I want to know about : this method also supports async callbacks - check the Callback tab for callback return parameters.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.getProperties(ARRAY arrayofNames, CallBackHandler callback)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.getProperties(ARRAY arrayofNames, CallBackHandler callback)
- Ruby:
Rho::Barcode.getProperties(ARRAY arrayofNames, CallBackHandler callback)
getProperty(STRING propertyName, CallBackHandler callback)
This method will return the value of the propertyName that is passed in. The propertyName must be a valid property of the API class.
Async Callback Returning Parameters: STRING
Synchronous Return:
- STRING : The property to return info about. : this method also supports async callbacks - check the Callback tab for callback return parameters.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.getProperty(STRING propertyName, CallBackHandler callback)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.getProperty(STRING propertyName, CallBackHandler callback)
- Ruby:
Rho::Barcode.getProperty(STRING propertyName, CallBackHandler callback)
getSupportedProperties(CallBackHandler callback)
return array of properties supported by this scaner
Parameters
- callback : CallBackHandler Optional
Async Callback Returning Parameters: ARRAY
Synchronous Return:
- ARRAY : array of property names supported by this scaner : this method also supports async callbacks - check the Callback tab for callback return parameters.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.getSupportedProperties(CallBackHandler callback)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.getSupportedProperties(CallBackHandler callback)
- Ruby:
Rho::Barcode.getSupportedProperties(CallBackHandler callback)
registerBluetoothStatus(CallBackHandler callback)
If you are using an RS507 barcode scanner you can register to receive connected or disconnected events through this method.
Parameters
- callback : CallBackHandler Mandatory
Async Callback Returning Parameters: HASH
Synchronous Return:
- Void : this method also supports async callbacks - check the Callback tab for callback return parameters.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.registerBluetoothStatus(CallBackHandler callback)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.registerBluetoothStatus(CallBackHandler callback)
- Ruby:
Rho::Barcode.registerBluetoothStatus(CallBackHandler callback)
setDefault(SELF_INSTANCE: Barcode defaultInstance)
This method allows you to set the attributes of the default object instance by passing in an object of the same class.
Method Access:
-
Class Method: This method can only be accessed via the API class object.
- JavaScript:
Rho.Barcode.setDefault(SELF_INSTANCE: Barcode defaultInstance)
- Ruby:
Rho::Barcode.setDefault(SELF_INSTANCE: Barcode defaultInstance)
setProperties(HASH propertyMap)
This method will set the values of a list of properties for the API class. The propertyName must be a valid property for the class and must also not be read only.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.setProperties(HASH propertyMap)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.setProperties(HASH propertyMap)
- Ruby:
Rho::Barcode.setProperties(HASH propertyMap)
setProperty(STRING propertyName, STRING propertyValue)
This method will set the value of a property for the API class. The propertyName must be a valid property for the class and must also not be read only.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.setProperty(STRING propertyName, STRING propertyValue)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.setProperty(STRING propertyName, STRING propertyValue)
- Ruby:
Rho::Barcode.setProperty(STRING propertyName, STRING propertyValue)
start()
Performs a soft trigger start, initiating a scan without pressing the hardware trigger. If the scan does not result in a decode it is necessary to perform a soft stop before another soft start.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.start()
- Ruby:
Rho::Barcode.start()
stop()
Performs a soft trigger stop
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.stop()
- Ruby:
Rho::Barcode.stop()
take(HASH propertyMap, CallBackHandler callback)
Enable the scanner and start capturing the barcode automatically. On Zebra Technologies' devices the amount of time to scan the barcode is defined by the scanTimeout property. On iPhone and Android if a barcode is found, the user can confirm barcode recognition, or continue to try to recognize the barcode. When the user confirms or cancels, the callback is called. Once the callback has been called the barcode hardware is disabled.
Parameters
- propertyMap : HASH Optional
Proivde a set of properties to configure the scanner, for example enable specific symbologies or check digits. Valid `properties` for this parameter are the properties avaliable to this API module. Check the property section Not providing properties to this function will use the scanner's default properties, or those previously set on the Scanner instance
- callback : CallBackHandler Mandatory
Async Callback Returning Parameters: HASH
- barcode : STRING
The data decoded by the scanner or imaging device
- status : STRING
Whether or not the barcode was successfully scanned, status will be 'ok' or 'cancel'
Synchronous Return:
- Void : this method also supports async callbacks - check the Callback tab for callback return parameters.
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.take(HASH propertyMap, CallBackHandler callback)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.take(HASH propertyMap, CallBackHandler callback)
- Ruby:
Rho::Barcode.take(HASH propertyMap, CallBackHandler callback)
take_barcode(STRING rubyCallbackURL, HASH propertyMap)
Deprecated deprecated old method for taking barcode
Parameters
- rubyCallbackURL : STRING
Ruby callbacl URL
- propertyMap : HASH Optional
Proivde a set of properties to configure the scanner, for example enable specific symbologies or check digits. Valid `properties` for this parameter are the properties avaliable to this API module. Check the property section Not providing properties to this function will use the scanner's default properties, or those previously set on the Scanner instance
Method Access:
-
Instance Method: This method can be accessed via an instance object of this class:
myObject.take_barcode(STRING rubyCallbackURL, HASH propertyMap)
-
Default Instance: This method can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.take_barcode(STRING rubyCallbackURL, HASH propertyMap)
- Ruby:
Rho::Barcode.take_barcode(STRING rubyCallbackURL, HASH propertyMap)
Properties
adaptiveScanning : BOOLEAN 1.0.0
Enables or disables adaptive scanning. When set to true, the scan engine will automatically toggle between 2 scan angles, wide and narrow, allowing the scan engine to decode barcodes both in close proximity and far away (~100 inches). Adaptive scanning is only supported in high performance, long working range scan engines such as SE960
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.adaptiveScanning
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.adaptiveScanning
- Ruby:
Rho::Barcode.adaptiveScanning
aimMode : STRING 1.0.0
Describes the aiming mode to used.
Possible Values (STRING):
Barcode.AIMMODE_NONE - (none)
No Aiming (Can be overridden by picklistMode).
Barcode.AIMMODE_DOT - (dot)
Laser barcode readers will show a dot for aiming.
Barcode.AIMMODE_SLAB - (slab)
Laser barcode readers will show a slab for aiming.
Barcode.AIMMODE_RETICLE - (reticle)
Imager barcode readers will show a reticle for aiming.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.aimMode
- Ruby:
Rho::Barcode.aimMode
aimType : STRING 1.0.0
Describes the type of aiming to use.
Possible Values (STRING):
Barcode.AIMTYPE_TRIGGER - (trigger)
Standard trigger mode. Holding the trigger will start a decoding session.
Barcode.AIMTYPE_TIMED_HOLD - (timedHold)
Aiming lasts for the time specified by 'timedAimDuration' before decoding. The opportunity to scan will last until the barcode is decoded or scanTimeout occurs.
Barcode.AIMTYPE_TIMED_RELEASE - (timedRelease)
Aiming lasts until trigger is released. If the timedAimDuration has expired when the trigger is released then a decode session is started until a barcode is decoded or for the remaining time equal to the scanTimeout value.
Barcode.AIMTYPE_PRESENTATION - (presentation)
Provided to support Kiosk devices. The scanner illuminates when movement is detected in the range of the scanner window. In order to use this mode the scanner must be initiated with a softscan using the scanner.start() method and again after each decode. The device must be equipped with a sensor to detect movement to use presentation mode.
Barcode.AIMTYPE_PRESS_AND_RELEASE - (pressAndRelease)
Scan will continue after the trigger is released until scanTimeout occurs.
Barcode.AIMTYPE_CONTINUOUS_READ - (continuousRead)
Once the trigger is pulled barcodes will continue to be scanned whilst the trigger is held, enabling rapid scanning, to be used in conjunction with sameSymbolTimeout and differentSymbolTimeout. This value is ignored if viewfinderMode is set to 'dynamicReticle'
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.aimType
- Ruby:
Rho::Barcode.aimType
allDecoders : BOOLEAN 1.0.0
When set to true, the barcode scanner will read all barcode types that the scanner is capable of reading. When set to false, the barcode scanner will not be able to decode any symbologies, this is most useful if you want to set the scanner to a default state before only enabling your required symbologies. The fewer symbologies that are enabled the faster the decoding performance of the scanning engine will be. This property will return true only if all supported symbologies by the scanner are enabled, if only a subset of supported symbologies are enabled then false will be returned. Note that some decoders will not be enabled as some symbologies use the same systems to encode data, making it impossible to differentiate between them. For example: "canpostal" and "auspostal" both use a 4-state system, so devices will only enable either "canpostal" OR "auspostal" when "alldecoders" is enabled. Note that other symbologies also share the 4-state system.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.allDecoders
- Ruby:
Rho::Barcode.allDecoders
ausPostal : BOOLEAN 1.0.0
Enables or disables the symbology for Australian Postal barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.ausPostal
- Ruby:
Rho::Barcode.ausPostal
autoEnter : BOOLEAN 1.0.0
When true, automatically appends the character code for 'enter' to the end of any barcodes scanned. This is most useful to submit forms following a scan. This property will only take effect if you have not specified a callback to the enable method. AutoEnter and AutoTab are mutually exclusive
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.autoEnter
- Ruby:
Rho::Barcode.autoEnter
autoTab : BOOLEAN 1.0.0
When true, automatically appends the tab character to the end of any barcodes scanned. This is most useful if you are populating a form. This property will only take effect if you have not specified a callback to the enable method. AutoEnter and AutoTab are mutually exclusive
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.autoTab
- Ruby:
Rho::Barcode.autoTab
aztec : BOOLEAN 1.0.0
Enables or disables the symbology for Aztec barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.aztec
- Ruby:
Rho::Barcode.aztec
beamWidth : STRING 2.1.0
Specifies the width of the laser beam. All devices will support normal beam widths but other widths may not be supported on your device.
Possible Values (STRING):
Barcode.BEAM_NORMAL - (normal)
Laser beam width is normal
Barcode.BEAM_WIDE - (wide)
Laser beam width is wide.
Barcode.BEAM_NARROW - (narrow)
Laser beam width is narrow.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.beamWidth
- Ruby:
Rho::Barcode.beamWidth
bidirectionalRedundancy : BOOLEAN 1.0.0
Enables or disables bidirectional redundancy.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.bidirectionalRedundancy
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.bidirectionalRedundancy
- Ruby:
Rho::Barcode.bidirectionalRedundancy
canPostal : BOOLEAN 1.0.0
Enables or disables the symbology for Canadian Postal barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.canPostal
- Ruby:
Rho::Barcode.canPostal
chinese2of5 : BOOLEAN 1.0.0
Enables or disables the symbology for Chinese 2of5 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.chinese2of5
- Ruby:
Rho::Barcode.chinese2of5
codabar : BOOLEAN 1.0.0
Enables or disables the symbology for Codabar barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.codabar
- Ruby:
Rho::Barcode.codabar
codabarClsiEditing : BOOLEAN 1.0.0
Enables Codabar CLSi formatting when set to true.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.codabarClsiEditing
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.codabarClsiEditing
- Ruby:
Rho::Barcode.codabarClsiEditing
codabarMaxLength : INTEGER 1.0.0
Specifies the maximum number of allowable characters in a Codabar barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.codabarMaxLength
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.codabarMaxLength
- Ruby:
Rho::Barcode.codabarMaxLength
codabarMinLength : INTEGER 1.0.0
Specifies the minimum number of allowable characters in a Codabar barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.codabarMinLength
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.codabarMinLength
- Ruby:
Rho::Barcode.codabarMinLength
codabarNotisEditing : BOOLEAN 1.0.0
Enables Codabar NotisEditing formatting when set to true.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.codabarNotisEditing
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.codabarNotisEditing
- Ruby:
Rho::Barcode.codabarNotisEditing
codabarRedundancy : BOOLEAN 1.0.0
Sets the Codabar Redundancy property, if set the barcode must be decoded twice before being accepted. This will slow scanning but improve reliability.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.codabarRedundancy
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.codabarRedundancy
- Ruby:
Rho::Barcode.codabarRedundancy
code11 : BOOLEAN 1.0.0
Enables or disables the symbology for Code11 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code11
- Ruby:
Rho::Barcode.code11
code11checkDigitCount : STRING 1.0.0
Specifies whether to verify 0, 1 or 2 check digits.
Possible Values (STRING):
Barcode.CODE11_CHECKDIGIT_NONE - (none)
Scanning engine will verify no Code 11 check digits
Barcode.CODE11_CHECKDIGIT_ONE - (one)
Scanning engine will verify one Code 11 check digit
Barcode.CODE11_CHECKDIGIT_TWO - (two)
Scanning engine will verify two Code 11 check digits
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code11checkDigitCount
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code11checkDigitCount
- Ruby:
Rho::Barcode.code11checkDigitCount
code11maxLength : INTEGER 1.0.0
Specifies the maximum number of allowable characters in a Code 11 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code11maxLength
- Ruby:
Rho::Barcode.code11maxLength
code11minLength : INTEGER 1.0.0
Specifies the minimum number of allowable characters in a Code 11 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code11minLength
- Ruby:
Rho::Barcode.code11minLength
code11redundancy : BOOLEAN 1.0.0
Sets the Code 11 Redundancy property, if set the barcode must be decoded twice before being accepted. This will slow scanning but improve reliability.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code11redundancy
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code11redundancy
- Ruby:
Rho::Barcode.code11redundancy
code11reportCheckDigit : BOOLEAN 1.0.0
When true the barcode check digit(s) will be reported for scanned Code 11 barcodes
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code11reportCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code11reportCheckDigit
- Ruby:
Rho::Barcode.code11reportCheckDigit
code128 : BOOLEAN 1.0.0
Enables or disables the symbology for Code128 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code128
- Ruby:
Rho::Barcode.code128
code128checkIsBtTable : BOOLEAN 2.0.0
When true, decodes concatenated Code128 output only if the pair belongs to one of the commonly concatenated pairs as defined by the standard.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code128checkIsBtTable
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code128checkIsBtTable
- Ruby:
Rho::Barcode.code128checkIsBtTable
code128ean128 : BOOLEAN 1.0.0
When true, barcodes with the EAN128 subtype property set will be read.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code128ean128
- Ruby:
Rho::Barcode.code128ean128
code128isbt128 : BOOLEAN 2.0.0
When true, barcodes with the isbt128 subtype property set will be read.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code128isbt128
- Ruby:
Rho::Barcode.code128isbt128
code128isbt128ConcatMode : STRING 1.0.0
Sets the Code128 ISBT concatenation mode property. This feature allows a pair of barcodes which meet certain criteria defined in teh ISBT128 spec to be reported as a single barcode. This paramter describes the different concatenation modes available for ISBT128
Possible Values (STRING):
Barcode.CODE128ISBT_NEVER - (never)
Will ignore the barcode pair and only output decode data for one of the barcodes
Barcode.CODE128ISBT_ALWAYS - (always)
Will not decode if both barcodes are not present or if one of them can not be decoded
Barcode.CODE128ISBT_AUTO - (auto)
Auto-Discriminate
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code128isbt128ConcatMode
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code128isbt128ConcatMode
- Ruby:
Rho::Barcode.code128isbt128ConcatMode
code128maxLength : INTEGER 1.0.0
Specifies the maximum number of allowable characters in a Code 128 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code128maxLength
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code128maxLength
- Ruby:
Rho::Barcode.code128maxLength
code128minLength : INTEGER 1.0.0
Specifies the minimum number of allowable characters in a Code 128 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code128minLength
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code128minLength
- Ruby:
Rho::Barcode.code128minLength
code128other128 : BOOLEAN 1.0.0
Sets the other 128 property which enables the non EAN and non ISBT 128 subtype.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code128other128
- Ruby:
Rho::Barcode.code128other128
code128redundancy : BOOLEAN 1.0.0
Sets the Code 128 Redundancy property, if set the barcode must be decoded twice before being accepted. This will slow scanning but improve reliability.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code128redundancy
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code128redundancy
- Ruby:
Rho::Barcode.code128redundancy
code128securityLevel : INTEGER 1.0.0
Sets the Code 128 security level and accepts a value between 0 and 3 inclusive. 0: Allows the scanner to operate in its most aggressive state, while providing sufficient security in decoding most 'in-spec' barcodes. 1: Eliminates most mis-decodes. 2: Select this option if security level 1 fails to eliminate mis-decodes. 3: Select this option if security level 1 and 2 fail to eliminate mis-decodes. Be advised that selecting level 3 is an extreme measure against mis-decoding and will significantly impair the decoding ability of the scanner.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code128securityLevel
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code128securityLevel
- Ruby:
Rho::Barcode.code128securityLevel
code39 : BOOLEAN 1.0.0
Enables or disables the symbology for Code 39 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code39
- Ruby:
Rho::Barcode.code39
code39code32Prefix : BOOLEAN 1.0.0
Enables reporting of the Code32 prefix when a Code39 barcode is converted.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code39code32Prefix
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code39code32Prefix
- Ruby:
Rho::Barcode.code39code32Prefix
code39convertToCode32 : BOOLEAN 1.0.0
Enables conversion from Code39 to Code 32 barcodes, when set the decoded barcode is converted to Code 32.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code39convertToCode32
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code39convertToCode32
- Ruby:
Rho::Barcode.code39convertToCode32
code39fullAscii : BOOLEAN 1.0.0
Enables full ASCII conversion of Code 39 barcodes
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code39fullAscii
- Ruby:
Rho::Barcode.code39fullAscii
code39maxLength : INTEGER 1.0.0
Specifies the maximum number of allowable characters in a Code 39 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code39maxLength
- Ruby:
Rho::Barcode.code39maxLength
code39minLength : INTEGER 1.0.0
Specifies the minimum number of allowable characters in a Code 39 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code39minLength
- Ruby:
Rho::Barcode.code39minLength
code39redundancy : BOOLEAN 1.0.0
Sets the Code 39 Redundancy property, if set the barcode must be decoded twice before being accepted. This will slow scanning but improve reliability.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code39redundancy
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code39redundancy
- Ruby:
Rho::Barcode.code39redundancy
code39reportCheckDigit : BOOLEAN 1.0.0
Enables reporting of the Code 39 check digit when a Code 39 barcode is scanned.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code39reportCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code39reportCheckDigit
- Ruby:
Rho::Barcode.code39reportCheckDigit
code39securityLevel : INTEGER 1.0.0
Sets the Code 128 security level and accepts a value between 0 and 3 inclusive. 0: This setting allows the scanner to operate in its most aggressive state, while providing sufficient security in decoding most 'in-spec' barcodes. 1: This setting eliminates most mis-decodes. 2: Select this option if security level 1 fails to eliminate mis-decodes. 3: Select this option if security level 1 and 2 fail to eliminate mis-decodes. Be advised that selecting level 3 is an extreme measure against mis-decoding and will significantly impair the decoding ability of the scanner.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code39securityLevel
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code39securityLevel
- Ruby:
Rho::Barcode.code39securityLevel
code39verifyCheckDigit : BOOLEAN 1.0.0
Turns on verification of the Code 39 check digit.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code39verifyCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code39verifyCheckDigit
- Ruby:
Rho::Barcode.code39verifyCheckDigit
code93 : BOOLEAN 1.0.0
Enables or disables the symbology for Code 93 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code93
- Ruby:
Rho::Barcode.code93
code93maxLength : INTEGER 1.0.0
Specifies the maximum number of allowable characters in a Code 93 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code93maxLength
- Ruby:
Rho::Barcode.code93maxLength
code93minLength : INTEGER 1.0.0
Specifies the minimum number of allowable characters in a Code 93 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code93minLength
- Ruby:
Rho::Barcode.code93minLength
code93redundancy : BOOLEAN 1.0.0
Sets the Code 93 Redundancy property, if set the barcode must be decoded twice before being accepted. This will slow scanning but improve reliability.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.code93redundancy
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.code93redundancy
- Ruby:
Rho::Barcode.code93redundancy
compositeAb : BOOLEAN 1.0.0
Enables or disables the symbology for Composite AB barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.compositeAb
- Ruby:
Rho::Barcode.compositeAb
compositeAbUccLinkMode : STRING 2.0.0
Describes whether UCC link mode is enabled
Possible Values (STRING):
Barcode.UCC_NEVER - (never)
Link flag is ignored
Barcode.UCC_ALWAYS - (always)
Composite AB barcodes are always linked
Barcode.UCC_AUTO - (auto)
Auto-discriminate whether Composite AB barcodes are linked
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.compositeAbUccLinkMode
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.compositeAbUccLinkMode
- Ruby:
Rho::Barcode.compositeAbUccLinkMode
compositeAbUseUpcPreambleCheckDigitRules : BOOLEAN 2.0.0
This setting causes the UPC rules specified in teh UPC EAN parameters to be used when reporting composite decode data.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.compositeAbUseUpcPreambleCheckDigitRules
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.compositeAbUseUpcPreambleCheckDigitRules
- Ruby:
Rho::Barcode.compositeAbUseUpcPreambleCheckDigitRules
compositeC : BOOLEAN 1.0.0
Enables or disables the symbology for Composite C barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.compositeC
- Ruby:
Rho::Barcode.compositeC
connectionIdleTimeout : INTEGER 1.0.0
Specifies the time, in seconds, that an external scanner will be allowed to remain idle before the connection is terminated to conserve power.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.connectionIdleTimeout
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.connectionIdleTimeout
- Ruby:
Rho::Barcode.connectionIdleTimeout
d2of5 : BOOLEAN 1.0.0
Enables or disables the symbology for D2of5 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.d2of5
- Ruby:
Rho::Barcode.d2of5
d2of5maxLength : INTEGER 1.0.0
Specifies the maximum number of allowable characters in a D2of5 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.d2of5maxLength
- Ruby:
Rho::Barcode.d2of5maxLength
d2of5minLength : INTEGER 1.0.0
Specifies the minimum number of allowable characters in a D2of5 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.d2of5minLength
- Ruby:
Rho::Barcode.d2of5minLength
d2of5redundancy : BOOLEAN 1.0.0
Sets the D2of5 Redundancy property, if set the barcode must be decoded twice before being accepted. This will slow scanning but improve reliability.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.d2of5redundancy
- Ruby:
Rho::Barcode.d2of5redundancy
dataBufferSize : INTEGER 2.1.0
Specifies the number of bytes allocated to receive the scanned barcode. This parameter is designed to be used primarily with image based symbologies and should not be modified unless absolutely necessary (eg. Signature).
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.dataBufferSize
- Ruby:
Rho::Barcode.dataBufferSize
datamatrix : BOOLEAN 1.0.0
Enables or disables the symbology for Datamatrix barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.datamatrix
- Ruby:
Rho::Barcode.datamatrix
dbpMode : STRING 1.0.0
Describes the type of Digital Bar Pulse (DBP) being produced by the scan engine.
Possible Values (STRING):
Barcode.DBP_NORMAL - (normal)
Tells the scan engine to produce normal DBP.
Barcode.DBP_COMPOSITE - (composite)
Tells the scan engine to produce composite DBP, which is 2 different sets of DBP data multiplexed together for better decode performance. In order to enable this mode it must be supported by the scanner.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.dbpMode
- Ruby:
Rho::Barcode.dbpMode
decodeDuration : INTEGER 4.0.0
The duration of the device beeper when a barcode is scanned, in milliseconds.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.decodeDuration
- Ruby:
Rho::Barcode.decodeDuration
decodeFrequency : INTEGER 4.0.0
The frequency of the device beeper when a barcode is successfully decoded. This should be within the range of the beeper but the API will accept values in the range 0 to 65535.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.decodeFrequency
- Ruby:
Rho::Barcode.decodeFrequency
decodeSound : STRING 4.0.0
Path to a local wave file to be played when the scanner successfully decodes a barcode. This setting overrides the scanner beeper.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.decodeSound
- Ruby:
Rho::Barcode.decodeSound
decodeVolume : INTEGER 4.0.0
The volume of the device beeper when a barcode is scanned. 0 to 5 with 5 being the loudest.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.decodeVolume
- Ruby:
Rho::Barcode.decodeVolume
differentSymbolTimeout : INTEGER 1.0.0
When the aimType:continuousRead property is applied this value defines the interval between which different barcodes can be scanned. The value is specified in milliseconds, use 0 to indicate no interval between successive reads. Use this setting to allow time for the operator to reaim the device between successive scans.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.differentSymbolTimeout
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.differentSymbolTimeout
- Ruby:
Rho::Barcode.differentSymbolTimeout
disconnectBtOnDisable : BOOLEAN 1.0.0
Forces the scanner to disconnect from the terminal when it is 'disabled'. Since the scanner is disabled when you navigate to a new page, set this value to false if you want to maintain the bluetooth connection to your remote scanner.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.disconnectBtOnDisable
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.disconnectBtOnDisable
- Ruby:
Rho::Barcode.disconnectBtOnDisable
displayBtAddressBarcodeOnEnable : BOOLEAN 2.1.0
If set to true the bluetooth address will be displayed as a barcode on the screen during the pairing process, initiated by calling 'enable' on a bluetooth scanner. Not all devices support this functionality. Note you must specify this parameter before or within the call to 'enable'.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.displayBtAddressBarcodeOnEnable
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.displayBtAddressBarcodeOnEnable
- Ruby:
Rho::Barcode.displayBtAddressBarcodeOnEnable
dpmMode : BOOLEAN 1.0.0
Allows Direct Part Marking (DPM) barcodes to be read when true but may adversely affect overall decoding performance. DPM is a way of stamping barcodes directly on physical objects and is only available on DPM terminals.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.dpmMode
- Ruby:
Rho::Barcode.dpmMode
dutchPostal : BOOLEAN 1.0.0
Enables or disables the symbology for Dutch Postal barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.dutchPostal
- Ruby:
Rho::Barcode.dutchPostal
ean13 : BOOLEAN 1.0.0
Enables or disables the symbology for EAN 13 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.ean13
- Ruby:
Rho::Barcode.ean13
ean8 : BOOLEAN 1.0.0
Enables or disables the symbology for EAN 8 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.ean8
- Ruby:
Rho::Barcode.ean8
ean8convertToEan13 : BOOLEAN 1.0.0
When true, EAN 8 barcodes will be converted to EAN 13 and EAN 13 parameters used.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.ean8convertToEan13
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.ean8convertToEan13
- Ruby:
Rho::Barcode.ean8convertToEan13
enableTimeout : INTEGER 2.1.0
Configures the time (in seconds) allowed to pair with the external bluetooth scanner after calling the 'enable()' method. You must specify this parameter before calling 'enable' to change the default.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.enableTimeout
- Ruby:
Rho::Barcode.enableTimeout
focusMode : STRING 1.0.0
Sets the focus mode in use.
Possible Values (STRING):
Barcode.FOCUS_FIXED - (fixed)
Use fixed focus.
Barcode.FOCUS_AUTO - (auto)
Use auto focus.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.focusMode
- Ruby:
Rho::Barcode.focusMode
friendlyName : STRING Read Only 4.0.0
Returns the friendly name associated with the scanner.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.friendlyName
- Ruby:
Rho::Barcode.friendlyName
gs1dataBar : BOOLEAN 2.1.0
Enables or disables the symbology for GS1 DataBar barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance. This symbology was previously known as rss.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.gs1dataBar
- Ruby:
Rho::Barcode.gs1dataBar
gs1dataBarExpanded : BOOLEAN 2.1.0
Enables or disables the symbology for GS1 Databar Expanded barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance. This symbology was previously known as rssExp.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.gs1dataBarExpanded
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.gs1dataBarExpanded
- Ruby:
Rho::Barcode.gs1dataBarExpanded
gs1dataBarLimited : BOOLEAN 2.1.0
Enables or disables the symbology for GS1 Databar Limited barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance. This symbology was previously known as rssLim.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.gs1dataBarLimited
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.gs1dataBarLimited
- Ruby:
Rho::Barcode.gs1dataBarLimited
hapticFeedback : BOOLEAN 4.0.0
Controls the haptic feedback on decode. This means that if this is set to true, then the device will vibrate when a decode occurs.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.hapticFeedback
- Ruby:
Rho::Barcode.hapticFeedback
i2of5 : BOOLEAN 1.0.0
Enables or disables the symbology for I2of5 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.i2of5
- Ruby:
Rho::Barcode.i2of5
i2of5convertToEan13 : BOOLEAN 1.0.0
When true, EAN 8 barcodes will be converted to EAN 13 and EAN 13 parameters used.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.i2of5convertToEan13
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.i2of5convertToEan13
- Ruby:
Rho::Barcode.i2of5convertToEan13
i2of5maxLength : INTEGER 1.0.0
Specifies the maximum number of allowable characters in a I2of5 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.i2of5maxLength
- Ruby:
Rho::Barcode.i2of5maxLength
i2of5minLength : INTEGER 1.0.0
Specifies the minimum number of allowable characters in a I2of5 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.i2of5minLength
- Ruby:
Rho::Barcode.i2of5minLength
i2of5redundancy : BOOLEAN 1.0.0
Sets the I2of5 Redundancy property, if set the barcode must be decoded twice before being accepted. This will slow scanning but improve reliability.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.i2of5redundancy
- Ruby:
Rho::Barcode.i2of5redundancy
i2of5reportCheckDigit : BOOLEAN 1.0.0
When true the barcode check digit(s) will be reported for scanned I2of5 barcodes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.i2of5reportCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.i2of5reportCheckDigit
- Ruby:
Rho::Barcode.i2of5reportCheckDigit
i2of5verifyCheckDigit : STRING 1.0.0
Enables the verification of the I2of5 check digit
Possible Values (STRING):
Barcode.I2OF5_VERIFY_NONE - (none)
Disables verification of the check digit.
Barcode.I2OF5_VERIFY_USS - (uss)
Enables the USS format for the check digit.
Barcode.I2OF5_VERIFY_OPCC - (opcc)
Enables the OPCC format for the check digit.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.i2of5verifyCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.i2of5verifyCheckDigit
- Ruby:
Rho::Barcode.i2of5verifyCheckDigit
illuminationMode : STRING 1.0.0
Selects the illumination mode to use.
Possible Values (STRING):
Barcode.ILLUMINATION_AUTO - (auto)
Auto-exposure algorithms will decide whether illumination is required or not. Not available on Android.
Barcode.ILLUMINATION_ALWAYS_ON - (alwaysOn)
External illumination is always on.
Barcode.ILLUMINATION_ALWAYS_OFF - (alwaysOff)
External illumination is always off.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.illuminationMode
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.illuminationMode
- Ruby:
Rho::Barcode.illuminationMode
invalidDecodeFrequency : INTEGER 4.0.0
The frequency of the device beeper when a barcode is scanned but not successfully decoded. This should be within the range of the beeper but the API will accept values in the range 0 to 65535.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.invalidDecodeFrequency
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.invalidDecodeFrequency
- Ruby:
Rho::Barcode.invalidDecodeFrequency
invalidDecodeSound : STRING 4.0.0
Local path to a wave file to be played when a barcode is scanned but not successfully decoded. This setting overrides the scanner beeper.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.invalidDecodeSound
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.invalidDecodeSound
- Ruby:
Rho::Barcode.invalidDecodeSound
inverse1dMode : STRING 1.0.0
Allows the user to select inverse 1D barcodes for decoding.
Possible Values (STRING):
Barcode.INVERSE_ENABLED - (enabled)
Inverse 1D symbology decoding is enabled.
Barcode.INVERSE_DISABLED - (disabled)
Inverse 1D symbology decoding is disabled.
Barcode.INVERSE_AUTO - (auto)
Allows decoding of both positive and inverse 1D symbologies.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.inverse1dMode
- Ruby:
Rho::Barcode.inverse1dMode
japPostal : BOOLEAN 1.0.0
Enables or disables the symbology for Japanese Postal barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.japPostal
- Ruby:
Rho::Barcode.japPostal
klasseEins : BOOLEAN 1.0.0
Enables or disables the Klasse Eins laser on time function.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.klasseEins
- Ruby:
Rho::Barcode.klasseEins
korean3of5 : BOOLEAN 2.0.0
Enables or disables the symbology for Korean 3of5 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.korean3of5
- Ruby:
Rho::Barcode.korean3of5
korean3of5maxLength : INTEGER 1.0.0
Specifies the maximum number of allowable characters in a Korean 3of5 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.korean3of5maxLength
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.korean3of5maxLength
- Ruby:
Rho::Barcode.korean3of5maxLength
korean3of5minLength : INTEGER 1.0.0
Specifies the minimum number of allowable characters in a Korean 3of5 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.korean3of5minLength
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.korean3of5minLength
- Ruby:
Rho::Barcode.korean3of5minLength
korean3of5redundancy : BOOLEAN 1.0.0
Sets Korean 3of5 Redundancy property, if set the barcode must be decoded twice before being accepted. This will slow scanning but improve reliability.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.korean3of5redundancy
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.korean3of5redundancy
- Ruby:
Rho::Barcode.korean3of5redundancy
lcdMode : BOOLEAN 4.0.0
Controls whether LCD Mode is enabled on the scanner. LCD Mode makes it easier to scan barcodes off of LCD screens (like mobile device screens)
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.lcdMode
- Ruby:
Rho::Barcode.lcdMode
linearSecurityLevel : STRING 1.0.0
Describes the linear security level used during decoding.
Possible Values (STRING):
Barcode.REDUNDANCY_AND_LENGTH - (redundancyAndLength)
Two times redundancy based on redundancy flags and code length. Only applicable to laser scanners, not BlockBuster imager scanners.
Barcode.SHORT_OR_CODABAR - (shortOrCodabar)
Two times redundancy if short barcode or Codabar.
Barcode.LONG_AND_SHORT - (longAndShort)
Two times redundancy for long barcodes, three times for short barcodes.
Barcode.ALL_TWICE - (allTwice)
Two times redundancy for all barcodes.
Barcode.ALL_THRICE - (allThrice)
Three times redundancy for all barcodes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.linearSecurityLevel
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.linearSecurityLevel
- Ruby:
Rho::Barcode.linearSecurityLevel
lowBatteryScan : BOOLEAN 1.0.0
Set to false to disable scanning when the battery is low or set to true to enable it. Once disabled the scanner can be enabled again by calling enable().
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.lowBatteryScan
- Ruby:
Rho::Barcode.lowBatteryScan
macroMicroPdf : BOOLEAN 1.0.0
Enables or disables the symbology for Macro Micro PDF barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.macroMicroPdf
- Ruby:
Rho::Barcode.macroMicroPdf
macroMicroPdfBufferLabels : BOOLEAN 2.0.0
If true, the scanner driver will return the barcode data only after the complete macroMicroPdf sequence has been read. If false, the scanner driver will return each barcode in the macroMicroPdf sequence as it is read.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.macroMicroPdfBufferLabels
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.macroMicroPdfBufferLabels
- Ruby:
Rho::Barcode.macroMicroPdfBufferLabels
macroMicroPdfConvertToMicroPdf : BOOLEAN 2.0.0
If true, MacroMicroPDF barcodes will be converted to MicroPDF codes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.macroMicroPdfConvertToMicroPdf
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.macroMicroPdfConvertToMicroPdf
- Ruby:
Rho::Barcode.macroMicroPdfConvertToMicroPdf
macroMicroPdfExclusive : BOOLEAN 2.0.0
If true, the scanner driver will not complete read requests while in the middle of a macroMicroPdf sequence. Once a macroMicroPdf sequence has been started it must be completed or cancelled before the scan driver will complete other read requests.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.macroMicroPdfExclusive
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.macroMicroPdfExclusive
- Ruby:
Rho::Barcode.macroMicroPdfExclusive
macroMicroPdfReportAppendInfo : BOOLEAN 2.0.0
If true, the appended info is concatenated to the decoded data before being returned.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.macroMicroPdfReportAppendInfo
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.macroMicroPdfReportAppendInfo
- Ruby:
Rho::Barcode.macroMicroPdfReportAppendInfo
macroPdf : BOOLEAN 1.0.0
Enables or disables the symbology for Macro PDF barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.macroPdf
- Ruby:
Rho::Barcode.macroPdf
macroPdfBufferLabels : BOOLEAN 2.0.0
When true, the scanner driver will return he barcode data only after the complete macroPdf sequence has been read. If false, the scan driver will return each barcode in the macroPdf sequence as it is read.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.macroPdfBufferLabels
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.macroPdfBufferLabels
- Ruby:
Rho::Barcode.macroPdfBufferLabels
macroPdfConvertToPdf417 : BOOLEAN 2.0.0
If true, MacroPDF barcodes will be converted to PDF417 codes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.macroPdfConvertToPdf417
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.macroPdfConvertToPdf417
- Ruby:
Rho::Barcode.macroPdfConvertToPdf417
macroPdfExclusive : BOOLEAN 2.0.0
If true, the scanner driver will not complete read requests while in the middle of a macroPdf sequence. Once a macroPdf sequence has been started it must be completed or cancelled before the scan driver will complete other read requests.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.macroPdfExclusive
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.macroPdfExclusive
- Ruby:
Rho::Barcode.macroPdfExclusive
matrix2of5 : BOOLEAN 2.0.0
Enables or disables the symbology for Matrix 2of5 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.matrix2of5
- Ruby:
Rho::Barcode.matrix2of5
matrix2of5maxLength : INTEGER 2.0.0
Specifies the maximum number of allowable characters in a Matrix 2of5 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.matrix2of5maxLength
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.matrix2of5maxLength
- Ruby:
Rho::Barcode.matrix2of5maxLength
matrix2of5minLength : INTEGER 2.0.0
Specifies the minimum number of allowable characters in a Matrix 2of5 barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.matrix2of5minLength
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.matrix2of5minLength
- Ruby:
Rho::Barcode.matrix2of5minLength
matrix2of5reportCheckDigit : BOOLEAN 2.0.0
When true the barcode check digit(s) will be reported for scanned Matrix 2of5 barcodes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.matrix2of5reportCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.matrix2of5reportCheckDigit
- Ruby:
Rho::Barcode.matrix2of5reportCheckDigit
matrix2of5verifyCheckDigit : BOOLEAN 2.0.0
Enables verification of the Matrix 2of5 symbology check digit.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.matrix2of5verifyCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.matrix2of5verifyCheckDigit
- Ruby:
Rho::Barcode.matrix2of5verifyCheckDigit
maxiCode : BOOLEAN 1.0.0
Enables or disables the symbology for Maxicode barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.maxiCode
- Ruby:
Rho::Barcode.maxiCode
microPdf : BOOLEAN 1.0.0
Enables or disables the symbology for Micro PDF barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.microPdf
- Ruby:
Rho::Barcode.microPdf
microQr : BOOLEAN 1.0.0
Enables or disables the symbology for Micro QR barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.microQr
- Ruby:
Rho::Barcode.microQr
msi : BOOLEAN 1.0.0
Enables or disables the symbology for MSI barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.msi
- Ruby:
Rho::Barcode.msi
msiCheckDigitScheme : STRING 1.0.0
Specifies the check digit scheme used to verify MSI barcodes
Possible Values (STRING):
Barcode.MSI_CHECKDIGITS_MOD11 - (mod11)
The first check digit is MOD 11, the second is MOD 10.
Barcode.MSI_CHECKDIGITS_MOD10 - (mod10)
Both check digits are MOD 10.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.msiCheckDigitScheme
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.msiCheckDigitScheme
- Ruby:
Rho::Barcode.msiCheckDigitScheme
msiCheckDigits : STRING 1.0.0
Sets the number of MSI check digits to use
Possible Values (STRING):
Barcode.MSI_CHECKDIGITS_ONE - (one)
Use one check digit for MSI barcodes.
Barcode.MSI_CHECKDIGITS_TWO - (two)
Use two check digits for MSI barcodes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.msiCheckDigits
- Ruby:
Rho::Barcode.msiCheckDigits
msiMaxLength : INTEGER 1.0.0
Specifies the maximum number of allowable characters in a MSI barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.msiMaxLength
- Ruby:
Rho::Barcode.msiMaxLength
msiMinLength : INTEGER 1.0.0
Specifies the minimum number of allowable characters in a MSI barcode. If your application only expects barcode lengths in a certain range, reducing the allowed range can improve scanning performance. Allowed values are 0 to 55
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.msiMinLength
- Ruby:
Rho::Barcode.msiMinLength
msiRedundancy : BOOLEAN 1.0.0
Sets the MSI Redundancy property, if set the barcode must be decoded twice before being accepted. This will slow scanning but improve reliability.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.msiRedundancy
- Ruby:
Rho::Barcode.msiRedundancy
msiReportCheckDigit : BOOLEAN 1.0.0
When true the barcode check digit(s) will be reported for scanned MSI barcodes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.msiReportCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.msiReportCheckDigit
- Ruby:
Rho::Barcode.msiReportCheckDigit
pdf417 : BOOLEAN 1.0.0
Enables or disables the symbology for PDF 417 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.pdf417
- Ruby:
Rho::Barcode.pdf417
picklistMode : STRING 1.0.0
Allows the imager to decode only the barcode that is directly under the cross-hair / center of the reticle. This feature is most useful in applications where multiple barcodes may appear in the field of view during a decode session and only one of them is targeted for decode. When enabled picklistMode will override aimMode if no aiming is chosen and use aimMode:reticle. This mode will also interact with viewfinderMode, see the EMDK for C help file for more information. Enabling picklist mode may adversely affect overall decoding performance.
Possible Values (STRING):
Barcode.PICKLIST_DISABLED - (disabled)
Disables picklist mode so any barcode within the field of view can be decoded.
Barcode.PICKLIST_HARDWARE_RETICLE - (hardwareReticle)
Enables picklist mode so that only the barcode under the projected reticle can be decoded. On Windows, if the imager does not support a projected reticle then the behaviour is the same as softwareReticle. On Android, this is only supported for Imager (non-viewfinder) based scanners.
Barcode.PICKLIST_SOFTWARE_RETICLE - (softwareReticle)
Enables picklist mode so that only the barcode in the center of the image is decoded. This is most useful when used in conjunction with static and dynamic reticle viewfinder modes. On Android, this is only supported for Camera (viewfinder) based scanners.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.picklistMode
- Ruby:
Rho::Barcode.picklistMode
poorQuality1dMode : BOOLEAN 1.0.0
Allows poor quality 1D barcodes to be read when true but this will adversely affect the overall decoding performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.poorQuality1dMode
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.poorQuality1dMode
- Ruby:
Rho::Barcode.poorQuality1dMode
qrCode : BOOLEAN 1.0.0
Enables or disables the symbology for QR Code barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.qrCode
- Ruby:
Rho::Barcode.qrCode
rasterHeight : INTEGER 1.0.0
Vertical rastering height to use, as a percentage, when rasterMode:openAlways is applied. This value must be between 0 - 100.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rasterHeight
- Ruby:
Rho::Barcode.rasterHeight
rasterMode : STRING 1.0.0
Describes the type of vertical rastering to use.
Possible Values (STRING):
Barcode.RASTER_NONE - (none)
No vertical rastering
Barcode.RASTER_OPEN_ALWAYS - (openAlways)
Vertical rastering is always full open. To adjust the rastering height use the rasterHeight property.
Barcode.RASTER_SMART - (smart)
Vertical rastering mode is 'Smart'.
Barcode.RASTER_CYCLONE - (cyclone)
Vertical rastering mode is 'Cyclone'.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rasterMode
- Ruby:
Rho::Barcode.rasterMode
rsmBatteryCapacity : STRING Read Only 4.0.0
The remaining capacity of the battery, in the range 0 to 100. 'unknown' will be returned if the capacity could not be determined, for example if the scanner had no battery.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBatteryCapacity
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBatteryCapacity
- Ruby:
Rho::Barcode.rsmBatteryCapacity
rsmBatteryId : STRING Read Only 4.0.0
One of 'simple', 'double', 'dabled' or 'unknown'
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBatteryId
- Ruby:
Rho::Barcode.rsmBatteryId
rsmBatteryStatus : STRING Read Only 4.0.0
Indicates the status of the remote scanner's battery, will be one of 'unknown', 'full', 'medium', 'empty', 'chargingFullRate', 'chargingHalfRate', 'chargingTrickle' or 'discharging'
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBatteryStatus
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBatteryStatus
- Ruby:
Rho::Barcode.rsmBatteryStatus
rsmBluetoothAddress : STRING Read Only 4.0.0
Bluetooth address as FF:FF:FF:FF:FF:FF where FF is a hex number.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBluetoothAddress
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBluetoothAddress
- Ruby:
Rho::Barcode.rsmBluetoothAddress
rsmBluetoothAuthentication : BOOLEAN 4.0.0
True if authentication is required
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBluetoothAuthentication
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBluetoothAuthentication
- Ruby:
Rho::Barcode.rsmBluetoothAuthentication
rsmBluetoothAutoReconnect : STRING 4.0.0
Bluetooth reconnection scheme
Possible Values (STRING):
Barcode.RSM_AUTORECONNECT_NONE - (none)
No scheme.
Barcode.RSM_AUTORECONNECT_ON_POWER - (onPower)
When powered on.
Barcode.RSM_AUTORECONNECT_ON_OUT_OF_RANGE - (onOutOfRange)
When device goes out of range.
Barcode.RSM_AUTORECONNECT_ON_POWER_OUT_OF_RANGE - (onPowerOutOfRange)
When powered on or when the device goes out of range.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBluetoothAutoReconnect
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBluetoothAutoReconnect
- Ruby:
Rho::Barcode.rsmBluetoothAutoReconnect
rsmBluetoothBeepOnReconnectAttempt : BOOLEAN 4.0.0
When 'True' scanner will emit 5 beeps every 5 seconds whilst re-connection in progress
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBluetoothBeepOnReconnectAttempt
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBluetoothBeepOnReconnectAttempt
- Ruby:
Rho::Barcode.rsmBluetoothBeepOnReconnectAttempt
rsmBluetoothEncryption : BOOLEAN 4.0.0
True if encryption is required.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBluetoothEncryption
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBluetoothEncryption
- Ruby:
Rho::Barcode.rsmBluetoothEncryption
rsmBluetoothFriendlyName : STRING 4.0.0
Friendly Bluetooth name, e.g. 'MyBTScanner'
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBluetoothFriendlyName
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBluetoothFriendlyName
- Ruby:
Rho::Barcode.rsmBluetoothFriendlyName
rsmBluetoothHidAutoReconnect : STRING 4.0.0
'neverReconnect', 'reconnectOnData' or 'reconnectImmediately'
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBluetoothHidAutoReconnect
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBluetoothHidAutoReconnect
- Ruby:
Rho::Barcode.rsmBluetoothHidAutoReconnect
rsmBluetoothInquiryMode : STRING 4.0.0
'general' to use a general inquiry mode, else 'limited'
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBluetoothInquiryMode
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBluetoothInquiryMode
- Ruby:
Rho::Barcode.rsmBluetoothInquiryMode
rsmBluetoothPinCode : STRING 4.0.0
Up to 5 character PIN code used for Bluetooth authentication
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBluetoothPinCode
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBluetoothPinCode
- Ruby:
Rho::Barcode.rsmBluetoothPinCode
rsmBluetoothPinCodeType : STRING 4.0.0
'UseStored' will use the PIN code stored in the memory of the ring scanner, by default '12345'. 'PromptUser' indicates that the ring scanner should be used to scan 5 alpha numeric barcodes to define the PIN, eg. "1", "2", "3", "4", "5" (for PIN 12345). This parameter is not saved permanently on the ring scanner.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBluetoothPinCodeType
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBluetoothPinCodeType
- Ruby:
Rho::Barcode.rsmBluetoothPinCodeType
rsmBluetoothReconnectionAttempts : INTEGER 4.0.0
How long the scanner tries to re-establish connection if it goes out of range, in seconds. This value must be a multiple of 5 and in the range 30 to 60 seconds.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmBluetoothReconnectionAttempts
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmBluetoothReconnectionAttempts
- Ruby:
Rho::Barcode.rsmBluetoothReconnectionAttempts
rsmDateOfManufacture : STRING Read Only 4.0.0
Ring scanner date of manufacture as DDMMYY
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmDateOfManufacture
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmDateOfManufacture
- Ruby:
Rho::Barcode.rsmDateOfManufacture
rsmDateOfService : STRING Read Only 4.0.0
Ring scanner date of service as DDMMYY
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmDateOfService
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmDateOfService
- Ruby:
Rho::Barcode.rsmDateOfService
rsmDecodeFeedback : BOOLEAN 4.0.0
If true, the remote scanner beeps and illuminates its green LED on a successful decode.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmDecodeFeedback
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmDecodeFeedback
- Ruby:
Rho::Barcode.rsmDecodeFeedback
rsmDeviceClass : STRING Read Only 4.0.0
The device class of the ring scanner
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmDeviceClass
- Ruby:
Rho::Barcode.rsmDeviceClass
rsmFirmwareVersion : STRING Read Only 4.0.0
Scanner's operating system version.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmFirmwareVersion
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmFirmwareVersion
- Ruby:
Rho::Barcode.rsmFirmwareVersion
rsmForceSavePairingBarcode : BOOLEAN 4.0.0
Force saving the barcode assigned to the device to which the scanner has been paired
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmForceSavePairingBarcode
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmForceSavePairingBarcode
- Ruby:
Rho::Barcode.rsmForceSavePairingBarcode
rsmGoodScansDelay : INTEGER 4.0.0
Delay between good scans in proximity continuous mode, measured in milliseconds. Range 0 to 15000. This value must be a multiple of 100.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmGoodScansDelay
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmGoodScansDelay
- Ruby:
Rho::Barcode.rsmGoodScansDelay
rsmIgnoreCode128Usps : BOOLEAN 4.0.0
Feature for ignoring Code 128 barcodes beginning with 420 and 421
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmIgnoreCode128Usps
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmIgnoreCode128Usps
- Ruby:
Rho::Barcode.rsmIgnoreCode128Usps
rsmLowBatteryIndication : BOOLEAN 4.0.0
Whether or not the ring scanner should give a low battery indication
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmLowBatteryIndication
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmLowBatteryIndication
- Ruby:
Rho::Barcode.rsmLowBatteryIndication
rsmLowBatteryIndicationCycle : INTEGER 4.0.0
Low battery indication cycle time, in seconds. Must be one of 15, 30, 60, 90 or 120
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmLowBatteryIndicationCycle
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmLowBatteryIndicationCycle
- Ruby:
Rho::Barcode.rsmLowBatteryIndicationCycle
rsmMems : BOOLEAN 4.0.0
If you press the trigger on an RSM scanner, proximity enabled will be turned off, even though it still reports its self as being turned on if you query the property. In order to use ProximityEnable you need to also have Mems enabled, this is the motion sensor and if you disable Mems the scanner will not function.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmMems
- Ruby:
Rho::Barcode.rsmMems
rsmModelNumber : STRING Read Only 4.0.0
The ring scanner model number.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmModelNumber
- Ruby:
Rho::Barcode.rsmModelNumber
rsmPagingBeepSequence : INTEGER 4.0.0
Range 0 to 15 to specify the pattern for the paging beep sequence.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmPagingBeepSequence
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmPagingBeepSequence
- Ruby:
Rho::Barcode.rsmPagingBeepSequence
rsmPagingEnable : BOOLEAN 4.0.0
Specify whether paging the device is enabled
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmPagingEnable
- Ruby:
Rho::Barcode.rsmPagingEnable
rsmProximityContinuous : BOOLEAN 4.0.0
Proximity continuous mode
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmProximityContinuous
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmProximityContinuous
- Ruby:
Rho::Barcode.rsmProximityContinuous
rsmProximityDistance : STRING 4.0.0
Specify the distance for the proximity feature as 'short', 'medium' or 'long'
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmProximityDistance
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmProximityDistance
- Ruby:
Rho::Barcode.rsmProximityDistance
rsmProximityEnable : BOOLEAN 4.0.0
If you press the trigger on an RSM scanner, proximity enabled will be turned off, even though it still reports its self as being turned on if you query the property. In order to use ProximityEnable you need to also have Mems enabled, this is the motion sensor and if you disable Mems the scanner will not function.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmProximityEnable
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmProximityEnable
- Ruby:
Rho::Barcode.rsmProximityEnable
rsmScanLineWidth : STRING 4.0.0
The laser scan line width, 'wide' or 'narrow'.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmScanLineWidth
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmScanLineWidth
- Ruby:
Rho::Barcode.rsmScanLineWidth
rsmScanTriggerWakeup : BOOLEAN 4.0.0
Scanner trigger will wakeup the device from a low power state
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.rsmScanTriggerWakeup
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmScanTriggerWakeup
- Ruby:
Rho::Barcode.rsmScanTriggerWakeup
rsmSerialNumber : STRING Read Only 4.0.0
The ring scanner serial number
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.rsmSerialNumber
- Ruby:
Rho::Barcode.rsmSerialNumber
sameSymbolTimeout : INTEGER 1.0.0
When the aimType:continuousRead property is applied this value defines the interval between which the same barcode can be decoded twice. The value is specified in milliseconds, use 0 to indicate no interval between successive reads. Use this value to prevent accidental duplicate scans.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.sameSymbolTimeout
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.sameSymbolTimeout
- Ruby:
Rho::Barcode.sameSymbolTimeout
scanTimeout : INTEGER 1.0.0
Maximum time in milliseconds that laser scanners will emit a beam or imager scanners will enable the imager. A value of 0 indicates an infinite timeout. This parameter is compatibile with aimType:trigger, aimType:timedHold, aimType:timedRelease and aimType:pressAndRelease. Note that for regulatory reasons scanTimeout is not configurable on all laser/imager scanners.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.scanTimeout
- Ruby:
Rho::Barcode.scanTimeout
scannerType : STRING Read Only 4.0.0
The type of scanner in use, will be one of 'Camera', 'Imager' or 'Laser'. Camera scanners capture and process an image taken via the devices camera. Imager scanners rely on capturing and processing an image of the barcode via dedicated scanning hardware. Both camera and imager scanners are capable of decoding 1D and 2D barcodes. Laser scanners are only capable of decoding 1D barcodes and rely on a sweeping laser. Please note, on Windows Mobile and CE, camera and imager scanners are both identified as 'Imager's
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.scannerType
- Ruby:
Rho::Barcode.scannerType
signature : BOOLEAN 2.1.0
Enables or disables the symbology for Signature barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance. Signature barcodes return their data in Data URI format, it is recommended you adjust the dataBufferSize and barcodeDataFormat properties when scanning Signature barcodes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.signature
- Ruby:
Rho::Barcode.signature
signatureImageHeight : INTEGER 2.1.0
Specifies the output height of the captured signature barcode. Signature barcodes return their data in Data URI format, it is recommended you adjust the dataBufferSize and barcodeDataFormat properties when scanning Signature barcodes. Provide a number greater than or equal to 20.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.signatureImageHeight
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.signatureImageHeight
- Ruby:
Rho::Barcode.signatureImageHeight
signatureImageQuality : INTEGER 2.1.0
Specifies the output quality of the captured signature barcode. Signature barcodes return their data in Data URI format, it is recommended you adjust the dataBufferSize and barcodeDataFormat properties when scanning Signature barcodes. Provide a value between 10 and 100 inclusive
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.signatureImageQuality
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.signatureImageQuality
- Ruby:
Rho::Barcode.signatureImageQuality
signatureImageWidth : INTEGER 2.1.0
Specifies the output width of the captured signature barcode. Signature barcodes return their data in Data URI format, it is recommended you adjust the dataBufferSize and barcodeDataFormat properties when scanning Signature barcodes. Provide a number greater than or equal to 20.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.signatureImageWidth
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.signatureImageWidth
- Ruby:
Rho::Barcode.signatureImageWidth
timedAimDuration : INTEGER 1.0.0
Duration in milliseconds for aimType:timedHold and aimType:timedRelease
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.timedAimDuration
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.timedAimDuration
- Ruby:
Rho::Barcode.timedAimDuration
tlc39 : BOOLEAN 1.0.0
Enables or disables the symbology for TLC 39 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.tlc39
- Ruby:
Rho::Barcode.tlc39
trioptic39 : BOOLEAN 1.0.0
Enables or disables the symbology for Trioptic 39 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.trioptic39
- Ruby:
Rho::Barcode.trioptic39
trioptic39Redundancy : BOOLEAN 1.0.0
Sets the Trioptic 39 Redundancy property, if set the barcode must be decoded twice before being accepted. This will slow scanning but improve reliability.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.trioptic39Redundancy
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.trioptic39Redundancy
- Ruby:
Rho::Barcode.trioptic39Redundancy
ukPostal : BOOLEAN 1.0.0
Enables or disables the symbology for UK Postal barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.ukPostal
- Ruby:
Rho::Barcode.ukPostal
ukPostalReportCheckDigit : BOOLEAN 1.0.0
When true the barcode check digit(s) will be reported for scanned UK Postal barcodes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.ukPostalReportCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.ukPostalReportCheckDigit
- Ruby:
Rho::Barcode.ukPostalReportCheckDigit
upcEanBookland : BOOLEAN 2.0.0
Enables or disables decoding of UPC EAN Bookland barcodes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcEanBookland
- Ruby:
Rho::Barcode.upcEanBookland
upcEanConvertGs1dataBarToUpcEan : BOOLEAN 2.1.0
If true, RSS barcodes will be converted to UPC/EAN format. For this setting to work UPC/EAN symbologies must be enabled.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upcEanConvertGs1dataBarToUpcEan
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcEanConvertGs1dataBarToUpcEan
- Ruby:
Rho::Barcode.upcEanConvertGs1dataBarToUpcEan
upcEanCoupon : BOOLEAN 1.0.0
Enables or disables decoding of UPC EAN Coupon barcodes
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcEanCoupon
- Ruby:
Rho::Barcode.upcEanCoupon
upcEanLinearDecode : BOOLEAN 1.0.0
Sets the linear decode property.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upcEanLinearDecode
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcEanLinearDecode
- Ruby:
Rho::Barcode.upcEanLinearDecode
upcEanRandomWeightCheckDigit : BOOLEAN 1.0.0
When true, enables random weight check digit verification.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upcEanRandomWeightCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcEanRandomWeightCheckDigit
- Ruby:
Rho::Barcode.upcEanRandomWeightCheckDigit
upcEanRetryCount : INTEGER 1.0.0
Sets the retry count for auto-discriminating for supplementals. The value must be between 2 - 20 inclusive.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upcEanRetryCount
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcEanRetryCount
- Ruby:
Rho::Barcode.upcEanRetryCount
upcEanSecurityLevel : INTEGER 2.0.0
Sets the Security level for decoding UPC EAN barcodes and accepts a value between 0 and 3 inclusive. 0: This setting allows the scanner to operate in its most aggressive state, while providing sufficient security in decoding most 'in-spec' barcodes. 1: This setting eliminates most mis-decodes. 2: Select this option if security level 1 fails to eliminate mis-decodes. 3: Select this option if security level 1 and 2 fail to eliminate mis-decodes. Be advised that selecting level 3 is an extreme measure against mis-decoding and will significantly impair the decoding ability of the scanner.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upcEanSecurityLevel
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcEanSecurityLevel
- Ruby:
Rho::Barcode.upcEanSecurityLevel
upcEanSupplemental2 : BOOLEAN 1.0.0
When true, enables the supplemental barcode decoding. Note you must have upcEanSupplementalMode:always set for this parameter to take effect
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upcEanSupplemental2
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcEanSupplemental2
- Ruby:
Rho::Barcode.upcEanSupplemental2
upcEanSupplemental5 : BOOLEAN 1.0.0
When true, enables the supplemental barcode decoding. Note you must have upcEanSupplementalMode:always set for this parameter to take effect.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upcEanSupplemental5
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcEanSupplemental5
- Ruby:
Rho::Barcode.upcEanSupplemental5
upcEanSupplementalMode : STRING 1.0.0
Describes the UPC EAN Supplemental mode.
Possible Values (STRING):
Barcode.UPCEAN_NONE - (none)
Supplementals are ignored.
Barcode.UPCEAN_AUTO - (auto)
Auto-discriminates supplementals.
Barcode.UPCEAN_ALWAYS - (always)
Will not decode upc/ean without supplementals
Barcode.UPCEAN_SMART - (smart)
The decoder will return the decoded value of the main block right away if it does not belong to any of the supplemental types. If the barcode starts with one of the prefixes it will search the image more aggressively for a supplemental. The scanner will try to scan the supplemental if it is present but if that fails, the main barcode will be returned.
Barcode.UPCEAN_379 - (378or379)
Auto-discriminates supplemental for upc/ean codes starting with 378 or 379. Will disable reading of supplementals for any other upc/ean barcodes not starting with these values. The supplemental will be scanned if present but if scanning fails then the main barcode will be returned.
Barcode.UPCEAN_979 - (978or979)
Auto-discriminates supplemental for upc/ean codes starting with 978 or 979. Will disable reading of supplementals for any other upc/ean barcodes not starting with these values. The supplemental will be scanned if present but if scanning fails then the main barcode will be returned.
Barcode.UPCEAN_439 - (414or419or434or439)
Auto-discriminates supplemental for upc/ean codes starting with 414 or 419 or 434 or 439. Will disable reading of supplementals for any other upc/ean barcodes not starting with these values. The supplemental will be scanned if present but if scanning fails then the main barcode will be returned.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upcEanSupplementalMode
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcEanSupplementalMode
- Ruby:
Rho::Barcode.upcEanSupplementalMode
upca : BOOLEAN 1.0.0
Enables or disables the symbology for UPCA barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upca
- Ruby:
Rho::Barcode.upca
upcaPreamble : STRING 1.0.0
Controls the preamble applied to the UPCA barcode.
Possible Values (STRING):
Barcode.UPCA_PREAMBLE_NONE - (none)
Applies no preamble to the bar code.
Barcode.UPCA_PREAMBLE_SYSTEMCHAR - (systemChar)
Applies system character preamble to the bar code.
Barcode.UPCA_PREAMBLE_COUNTRY - (countryAndSystemChars)
Applies both system and country code preamble to the bar code
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcaPreamble
- Ruby:
Rho::Barcode.upcaPreamble
upcaReportCheckDigit : BOOLEAN 1.0.0
When true the barcode check digit(s) will be reported for scanned UPCA barcodes
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upcaReportCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upcaReportCheckDigit
- Ruby:
Rho::Barcode.upcaReportCheckDigit
upce0 : BOOLEAN 1.0.0
Enables or disables the symbology for UPCE0 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upce0
- Ruby:
Rho::Barcode.upce0
upce0convertToUpca : BOOLEAN 1.0.0
When true, scanned UPCE0 barcodes will be converted to UPCA and UPCA parameters used.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upce0convertToUpca
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upce0convertToUpca
- Ruby:
Rho::Barcode.upce0convertToUpca
upce0preamble : STRING 1.0.0
Controls the preamble applied to the UPCE0 barcode.
Possible Values (STRING):
Barcode.UPCE0_PREAMBLE_NONE - (none)
Applies no preamble to the bar code.
Barcode.UPCE0_PREAMBLE_SYSTEMCHAR - (systemChar)
Applies system character preamble to the bar code.
Barcode.UPCE0_PREAMBLE_COUNTRY - (countryAndSystemChars)
Applies both system and country code preamble to the bar code
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upce0preamble
- Ruby:
Rho::Barcode.upce0preamble
upce0reportCheckDigit : BOOLEAN 1.0.0
When true the barcode check digit(s) will be reported for scanned UPCE0 barcodes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upce0reportCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upce0reportCheckDigit
- Ruby:
Rho::Barcode.upce0reportCheckDigit
upce1 : BOOLEAN 1.0.0
Enables or disables the symbology for UPCE1 barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upce1
- Ruby:
Rho::Barcode.upce1
upce1convertToUpca : BOOLEAN 1.0.0
When true, scanned UPCE1 barcodes will be converted to UPCA and UPCA parameters used.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upce1convertToUpca
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upce1convertToUpca
- Ruby:
Rho::Barcode.upce1convertToUpca
upce1preamble : STRING 1.0.0
Controls the preamble applied to the UPCE1 barcode.
Possible Values (STRING):
Barcode.UPCE1_PREAMBLE_NONE - (none)
Applies no preamble to the bar code.
Barcode.UPCE1_PREAMBLE_SYSTEMCHAR - (systemChar)
Applies system character preamble to the bar code.
Barcode.UPCE1_PREAMBLE_COUNTRY - (countryAndSystemChars)
Applies both system and country code preamble to the bar code
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upce1preamble
- Ruby:
Rho::Barcode.upce1preamble
upce1reportCheckDigit : BOOLEAN 1.0.0
When true the barcode check digit(s) will be reported for scanned UPCE1 barcodes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.upce1reportCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.upce1reportCheckDigit
- Ruby:
Rho::Barcode.upce1reportCheckDigit
us4state : BOOLEAN 1.0.0
Enables or disables the symbology for US 4-State barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.us4state
- Ruby:
Rho::Barcode.us4state
us4stateFics : BOOLEAN 2.0.0
Enables or disables the symbology for US 4-State FICS barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.us4stateFics
- Ruby:
Rho::Barcode.us4stateFics
usPlanet : BOOLEAN 1.0.0
Enables or disables the symbology for US Planet barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.usPlanet
- Ruby:
Rho::Barcode.usPlanet
usPlanetReportCheckDigit : BOOLEAN 1.0.0
When true the barcode check digit(s) will be reported for scanned US Planet barcodes.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.usPlanetReportCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.usPlanetReportCheckDigit
- Ruby:
Rho::Barcode.usPlanetReportCheckDigit
usPostNet : BOOLEAN 1.0.0
Enables or disables the symbology for US Post Net barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.usPostNet
- Ruby:
Rho::Barcode.usPostNet
usPostNetReportCheckDigit : BOOLEAN 1.0.0
When true the barcode check digit(s) will be reported for scanned US Post Net barcodes
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.usPostNetReportCheckDigit
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.usPostNetReportCheckDigit
- Ruby:
Rho::Barcode.usPostNetReportCheckDigit
viewfinderFeedback : STRING 1.0.0
Configures the feedback given after a successful scan in milliseconds. This value is ignored if aimType is set to continuousRead and no feedback will be given.
Possible Values (STRING):
Barcode.VF_FEEDBACK_ENABLED - (enabled)
The last image that was successfully decoded is displayed. The time for which the image is displayed can be configured by the viewfinderFeedbackTime parameter.
Barcode.VF_FEEDBACK_DISABLED - (disabled)
No feedback is given in the viewfinder after a successful decode.
Barcode.VF_FEEDBACK_RETICLE - (reticle)
The last image that was successfully decoded is displayed along with a red reticle in the center of the image. The time for which the image is displayed can be configured by the viewfinderFeedbackTime parameter.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.viewfinderFeedback
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.viewfinderFeedback
- Ruby:
Rho::Barcode.viewfinderFeedback
viewfinderFeedbackTime : INTEGER 1.0.0
If the viewfinderFeedback:enabled or viewfinderFeedback:reticle are applied then the decoded barcode will remain on the screen for this duration. Specified in milliseconds.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.viewfinderFeedbackTime
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.viewfinderFeedbackTime
- Ruby:
Rho::Barcode.viewfinderFeedbackTime
viewfinderHeight : INTEGER 1.0.0
When scanning a barcode using a Camera scanner the viewfinder preview window will be this number of pixels high. The images displayed in the viewfinder will be scaled as appropriate.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.viewfinderHeight
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.viewfinderHeight
- Ruby:
Rho::Barcode.viewfinderHeight
viewfinderMode : STRING 1.0.0
Configures the mode of the scanner viewfinder window. This attribute is not supported on all Scanners and will interact with the picklistMode parameter, see the EMDK for C help file for more information.
Possible Values (STRING):
Barcode.VIEWFINDER_ENABLED - (enabled)
Only the viewfinder is enabled (not the reticle). Displays a viewfinder on the screen showing the image being captured by the camera.
Barcode.VIEWFINDER_DISABLED - (disabled)
The viewfinder will not be displayed during aiming or scanning.
Barcode.VIEWFINDER_STATIC_RETICLE - (staticReticle)
Displays the viewfinder as well as draws a red reticle in the center of the image which helps with tracking the barcode.
Barcode.VIEWFINDER_DYNAMIC_RETICLE - (dynamicReticle)
Displays the viewfinder as well as draws a red reticle in the center of the image. If the barcode in the image is 'decodable' the reticle turns green to indicate this. This mode requires a second trigger press to decode the barcode after the reticle turns green. Not supported on Android
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.viewfinderMode
- Ruby:
Rho::Barcode.viewfinderMode
viewfinderWidth : INTEGER 1.0.0
When scanning a barcode using a Camera scanner the viewfinder preview window will be this number of pixels wide. The images displayed in the viewfinder will be scaled as appropriate.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.viewfinderWidth
- Ruby:
Rho::Barcode.viewfinderWidth
viewfinderX : INTEGER 1.0.0
When scanning a barcode using a Camera scanner the viewfinder preview window will appear this number of pixels from the left hand side of the screen. The images displayed in the viewfinder will be scaled as appropriate.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.viewfinderX
- Ruby:
Rho::Barcode.viewfinderX
viewfinderY : INTEGER 1.0.0
When scanning a barcode using a Camera scanner the viewfinder preview window will appear this number of pixels from the top of the screen. The images displayed in the viewfinder will be scaled as appropriate.
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.viewfinderY
- Ruby:
Rho::Barcode.viewfinderY
webcode : BOOLEAN 1.0.0
Enables or disables the symbology for Webcode barcodes. If your application does not expect to scan this symbology you should disable it to improve scanning performance. Deprecated in Android 4.1 (Jelly Bean).
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.webcode
- Ruby:
Rho::Barcode.webcode
webcodeDecodeGtSubtype : BOOLEAN 2.0.0
If true, the GT Webcode subtype will be decoded. Deprecated in Android 4.1 (Jelly Bean).
Property Access:
-
Instance: This property can be accessed via an instance object of this class:
myObject.webcodeDecodeGtSubtype
-
Default Instance: This property can be accessed via the default instance object of this class.
- JavaScript:
Rho.Barcode.webcodeDecodeGtSubtype
- Ruby:
Rho::Barcode.webcodeDecodeGtSubtype
Examples
Scan barcodes with the default scanner
Getting started with barcode scanning is very straightforward. If you do not need to customize the defaults, you need very little code.
function scan_using_default_scanner(){
// Scan with default options
Rho.Barcode.take({}, scan_received);
}
function scan_received(params)
// Did we actually find a barcode ?
// If status is not 'ok', the scan was cancelled
if (params["status"]=="ok") {
alert('Barcode scanning complete. Scanned barcode: '+params["barcode"]);
} else {
alert('Barcode scanning aborted');
}
Rho.Barcode.stop();
}
def scan_using_default_scanner
# Scan with default options
Rho::Barcode.take({}, url_for(:action => :scan_received))
end
def scan_received
# Did we actually find a barcode ?
# If status is not 'ok', the scan was cancelled
if @params["status"] == "ok"
Rho::Log.info(@params["barcode"],"Barcode result")
else
Rho::Log.info("Cancelled", "Barcode result")
end
end
Select which scanner to use
By default, Rho::Barcode will select a hardware scanner if present on the device. If you want to let the user choose which scanner to use at any particular time, you must enumerate the available scanners and select one from the set.
var scanners;
function choose_scanner(){
// Enumerate returns an array of scanner objects
// Devices without a hardware scanner will return a software-based recognizer
scanners = Rho.Barcode.enumerate();
}
function scan_using_chosen_scanner(scanner_index) {
var scanner = scanners[scanner_index];
scanner.take({}, scan_received_callback);
}
function scan_received_callback(params)
{
// Did we actually find a barcode ?
// If status is not 'ok', the scan was cancelled
if (params["status"]=="ok") {
alert('Barcode scanning complete. Scanned barcode: '+params["barcode"]);
} else {
alert('Barcode scanning aborted');
}
Rho.Barcode.stop();
}
# ---------------
# controller.rb
# ---------------
def choose_scanner
# Obtain list of available scanners on the system. Devices without a hardware scanner will return a software-based recognizer
$scanners = Rho::Barcode.enumerate
render
end
def scan_using_chosen_scanner
# receive an integer as parameter, which represent the number of the scanner we wish to use
scanner = $scanners[@params["scannerIndex"].to_i]
scanner.take({}, url_for(:action => :scan_received_callback))
end
def scan_received_callback
# Did we actually find a barcode ?
# If status is not 'ok', the scan was cancelled
if @params["status"] == "ok"
Rho::Log.info(@params["barcode"],"Barcode result")
else
Rho::Log.info("Cancelled", "Barcode result")
end
end
# ---------------
# choose_scanner.erb
# ---------------
<ul data-role="listview">
<% $scanners.each_with_index do |scanner, index| %>
<li><a href="<%= url_for(:action => :scan_using_chosen_scanner, :query => {:scanner_index => index}) %>"><%= scanner.friendlyName %></li>
<% end %>
</ul>
Set recognized symbologies
Specify which symbologies the barcode scanner must recognize
// For the purpose of this example, let's say our application only needs to recognize one type of barcode.
// In that case, we will disable all decoders...
Rho.Barcode.allDecoders = false;
// ... and enable only the one we are interested in:
Rho.Barcode.upca = true;
// All other barcode symbologies will be ignored
Rho.Barcode.take({}, scan_received_callback);
# For the purpose of this example, let's say our application only needs to recognize one type of barcode.
# In that case, we will disable all decoders...
Rho::Barcode.allDecoders = false
# ... and enable only the one we are interested in:
Rho::Barcode.upca = true
# All other barcode symbologies will be ignored
Rho::Barcode.take({}, url_for(:action => :scan_received_callback))
Control scanner properties
Examples of setting barcode scanner properties
// There are over 200 properties to fine-tune the barcode scanner functionality and adapt it to suit your application.
// Almost all properties depend on the scanner hardware for support, please check the documentation to see if your device
// supports a particular setting
// Here are examples of setting some of the properties. The documentation lists the acceptable values for each of them
// Aiming mode (visual cue):
Rho.Barcode.aimMode = "none";
Rho.Barcode.aimMode = "dot";
Rho.Barcode.aimMode = "slab";
Rho.Barcode.aimMode = "reticle";
// Aiming type (processing mode):
Rho.Barcode.aimType = "trigger";
Rho.Barcode.aimType = "timedHold";
Rho.Barcode.aimType = "timedRelease";
Rho.Barcode.aimType = "presentation";
Rho.Barcode.aimType = "pressAndRelease";
Rho.Barcode.aimType = "continuousRead";
// Generate an "Enter" keypress after a barcode is recognized. Useful for sending forms automatically after a scan
Rho.Barcode.autoEnter = true;
// Select the beam width of the scanner (only supported on some devices)
Rho.Barcode.beamWidth = "normal";
Rho.Barcode.beamWidth = "narrow";
Rho.Barcode.beamWidth = "wide";
# There are over 200 properties to fine-tune the barcode scanner functionality and adapt it to suit your application.
# Almost all properties depend on the scanner hardware for support, please check the documentation to see if your device
# supports a particular setting
# Here are examples of setting some of the properties. The documentation lists the acceptable values for each of them
# Aiming mode (visual cue):
Rho::Barcode.aimMode = "none"
Rho::Barcode.aimMode = "dot"
Rho::Barcode.aimMode = "slab"
Rho::Barcode.aimMode = "reticle"
# Aiming type (processing mode):
Rho::Barcode.aimType = "trigger"
Rho::Barcode.aimType = "timedHold"
Rho::Barcode.aimType = "timedRelease"
Rho::Barcode.aimType = "presentation"
Rho::Barcode.aimType = "pressAndRelease"
Rho::Barcode.aimType = "continuousRead"
# Generate an "Enter" keypress after a barcode is recognized. Useful for sending forms automatically after a scan
Rho::Barcode.autoEnter = true
# Select the beam width of the scanner (only supported on some devices)
Rho::Barcode.beamWidth = "normal"
Rho::Barcode.beamWidth = "narrow"
Rho::Barcode.beamWidth = "wide"
Change audible options
You can customize or eliminate the beep that the device emits when a barcode is recognized. Support and valid ranges for these values depend on the device.
// Maximum volume (default)
Rho.Barcode.decodeVolume = 5;
// Low-pitched sound
Rho.Barcode.decodeFrequency = 1000;
// One-second long
Rho.Barcode.decodeDuration = 1000;
Rho.Barcode.take({}, scan_received_callback);
# Maximum volume (default)
Rho::Barcode.decodeVolume = 5
# Low-pitched sound
Rho::Barcode.decodeFrequency = 1000
# One-second long
Rho::Barcode.decodeDuration = 1000
Rho::Barcode.take({}, url_for(:action => :scan_received_callback))
Remarks
Licensing
You can fully use all features of this API during evaluation, development or testing without obtaining a license. A message will be displayed on application startup and will also display a nag screen periodically. Before deploying an application to a production environment, you must obtain a license key.
Read more about licensing.