mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Added constant Intents.Scan.CAMERA_ID
This commit is contained in:
parent
5b957c86f8
commit
f18b11d7d8
|
@ -80,6 +80,13 @@ public final class Intents {
|
||||||
* Example: "EAN_13,EAN_8,QR_CODE". This overrides {@link #MODE}.
|
* Example: "EAN_13,EAN_8,QR_CODE". This overrides {@link #MODE}.
|
||||||
*/
|
*/
|
||||||
public static final String FORMATS = "SCAN_FORMATS";
|
public static final String FORMATS = "SCAN_FORMATS";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Optional parameter to specify the id of the camera from which to recognize barcodes.
|
||||||
|
* Overrides the default camera that would otherwise would have been selected.
|
||||||
|
* If provided, should be an int.
|
||||||
|
*/
|
||||||
|
public static final String CAMERA_ID = "SCAN_CAMERA_ID";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see com.google.zxing.DecodeHintType#CHARACTER_SET
|
* @see com.google.zxing.DecodeHintType#CHARACTER_SET
|
||||||
|
|
Loading…
Reference in a new issue