public class ScanResult extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CUSTOM_CANCEL |
static int |
ERROR_DEVICE_OPEN_FAILED |
static int |
ERROR_OPEN_AGAIN |
static int |
ERROR_PARAMETER |
static int |
ERROR_SCAN_TIME_OUT |
static int |
ERROR_UNKNOWN |
static int |
SCAN_SUCCESS |
Constructor and Description |
---|
ScanResult(int errorCode) |
Modifier and Type | Method and Description |
---|---|
android.graphics.Bitmap |
getBitmap() |
int |
getResultCode() |
String |
getText() |
void |
setBitmap(android.graphics.Bitmap bitmap) |
String |
toString() |
public static final int CUSTOM_CANCEL
public static final int ERROR_DEVICE_OPEN_FAILED
public static final int ERROR_OPEN_AGAIN
public static final int ERROR_PARAMETER
public static final int ERROR_SCAN_TIME_OUT
public static final int ERROR_UNKNOWN
public static final int SCAN_SUCCESS