Added constant Intents.Scan.CAMERA_ID

This commit is contained in:
slepmog 2014-05-01 05:16:51 -07:00
parent 5b957c86f8
commit f18b11d7d8

View file

@ -81,6 +81,13 @@ public final class Intents {
*/
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
*/