Warning Older Docs! - You are viewing documentation for a previous released version of RhoMobile Suite.

WebcodeDecodeGtSubtype Decoder Setting

The WebcodeDecodeGtSubtype Decoder Setting is used to set the webcodeDecodeGtSubtype property.

Syntax

webcodeDecodeGtSubtype (Decoder Setting) <META> Syntax

<META HTTP-Equiv="scanner" content="webcodeDecodeGtSubtype:[parameter]">

webcodeDecodeGtSubtype JavaScript Object Syntax:
By default the JavaScript Object 'scanner' will exist on the current page and can be used to interact directly with the webcodeDecodeGtSubtype.
To Set webcodeDecodeGtSubtype parameters via JavaScript use the following syntax: scanner.Parameter = Value;

e.g. scanner.webcodeDecodeGtSubtype = Value;
WebcodeDecodeGtSubtype Ruby Object Syntax:
By default the Ruby Object 'Scanner' will exist on the current page and can be used to interact directly with the WebcodeDecodeGtSubtype.
To Set WebcodeDecodeGtSubtype parameters via Ruby use the following syntax: Scanner.Parameter = Value

e.g. Scanner.webcodeDecodeGtSubtype = Value

Parameters

Items listed in this section indicate parameters, or attributes which can be set.

Name Possible Values Description Default Value
webcodeDecodeGtSubtype:[Value] true / false If true, GT Webcode subtype will be decoded. Device specific

Requirements

RhoElements Version 1.0.0 or above
Supported Devices All supported devices.
Minimum Requirements Scanner or Imager module and device that supports Webcode.
Persistence Transient - Decoder settings are only guaranteed to persist until the Scanner is disabled

HTML/JavaScript Examples

The following example enables the scanner and sets webcodeDecodeGtSubtype property

<META HTTP-Equiv="scanner" Content="webcode:enabled">
<META HTTP-Equiv="scanner" Content="webcodeDecodeGtSubtype:true">
<META HTTP-Equiv="scanner" Content="enabled">
Back to Top