public static final class Intents.Encode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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
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 java.lang.String TYPE
Intent.putExtra(String, String)
with one of Contents.Type
.public static final java.lang.String FORMAT
Intent.putExtra(String, String)
, where
format is one of BarcodeFormat
.public static final java.lang.String SHOW_CONTENTS