com.google.zxing.client.android
Class Intents.Encode

java.lang.Object
  extended by com.google.zxing.client.android.Intents.Encode
Enclosing class:
Intents

public static final class Intents.Encode
extends java.lang.Object


Field Summary
static java.lang.String ACTION
          Send this intent to encode a piece of data as a QR code and display it full screen, so that another person can scan the barcode from your screen.
static java.lang.String DATA
          The data to encode.
static java.lang.String FORMAT
          The barcode format to be displayed.
static java.lang.String SHOW_CONTENTS
          Normally the contents of the barcode are displayed to the user in a TextView.
static java.lang.String TYPE
          The type of data being supplied if the format is QR Code.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION

public static final java.lang.String ACTION
Send this intent to encode a piece of data as a QR code and display it full screen, so that another person can scan the barcode from your screen.

See Also:
Constant Field Values

DATA

public static final java.lang.String DATA
The data to encode. Use Intent.putExtra(String, String) or Intent.putExtra(String, android.os.Bundle), depending on the type and format specified. Non-QR Code formats should just use a String here. For QR Code, see Contents for details.

See Also:
Constant Field Values

TYPE

public static final java.lang.String TYPE
The type of data being supplied if the format is QR Code. Use Intent.putExtra(String, String) with one of Contents.Type.

See Also:
Constant Field Values

FORMAT

public static final java.lang.String FORMAT
The barcode format to be displayed. If this isn't specified or is blank, it defaults to QR Code. Use Intent.putExtra(String, String), where format is one of BarcodeFormat.

See Also:
Constant Field Values

SHOW_CONTENTS

public static final java.lang.String SHOW_CONTENTS
Normally the contents of the barcode are displayed to the user in a TextView. Setting this boolean to false will hide that TextView, showing only the encode barcode.

See Also:
Constant Field Values