| 限定符和类型 | 字段和说明 |
|---|---|
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.
|
public static final java.lang.String ACTION
public static final java.lang.String DATA
android.content.Intent#putExtra(String, String) or
android.content.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 java.lang.String TYPE
android.content.Intent#putExtra(String, String) with one of Contents.Type.public static final java.lang.String FORMAT
android.content.Intent#putExtra(String, String), where
format is one of BarcodeFormat.public static final java.lang.String SHOW_CONTENTS