| 限定符和类型 | 字段和说明 |
|---|---|
static 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 String |
DATA
The data to encode.
|
static String |
FORMAT
The barcode format to be displayed.
|
static String |
SHOW_CONTENTS
Normally the contents of the barcode are displayed to the user in a TextView.
|
static String |
TYPE
The type of data being supplied if the format is QR Code.
|
public static final String ACTION
public static final String DATA
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.public static final String TYPE
Intent.putExtra(String, String) with one of Contents.Type.public static final String FORMAT
Intent.putExtra(String, String), where
format is one of com.google.zxing.BarcodeFormat.