Skip navigation links
A B C D E G I O R S T V 

A

ALL_FORMATS - Static variable in class com.budiyev.android.codescanner.CodeScanner
All supported barcode formats
AutoFocusMode - Enum in com.budiyev.android.codescanner
Code scanner auto focus mode

B

BarcodeUtils - Class in com.budiyev.android.codescanner
Utils for decoding and encoding bar codes
BarcodeUtils.Rotation - Annotation Type in com.budiyev.android.codescanner
 

C

CAMERA_BACK - Static variable in class com.budiyev.android.codescanner.CodeScanner
First back-facing camera
CAMERA_FRONT - Static variable in class com.budiyev.android.codescanner.CodeScanner
First front-facing camera
CodeScanner - Class in com.budiyev.android.codescanner
Code scanner.
CodeScanner(Context, CodeScannerView) - Constructor for class com.budiyev.android.codescanner.CodeScanner
CodeScanner, associated with the first back-facing camera on the device
CodeScanner(Context, CodeScannerView, int) - Constructor for class com.budiyev.android.codescanner.CodeScanner
CodeScanner, associated with particular hardware camera
CodeScannerException - Exception in com.budiyev.android.codescanner
Common class for code scanner runtime exceptions
CodeScannerException() - Constructor for exception com.budiyev.android.codescanner.CodeScannerException
 
CodeScannerException(String) - Constructor for exception com.budiyev.android.codescanner.CodeScannerException
 
CodeScannerException(String, Throwable) - Constructor for exception com.budiyev.android.codescanner.CodeScannerException
 
CodeScannerException(Throwable) - Constructor for exception com.budiyev.android.codescanner.CodeScannerException
 
CodeScannerException(String, Throwable, boolean, boolean) - Constructor for exception com.budiyev.android.codescanner.CodeScannerException
 
CodeScannerView - Class in com.budiyev.android.codescanner
A view to display code scanner preview
CodeScannerView(Context) - Constructor for class com.budiyev.android.codescanner.CodeScannerView
A view to display code scanner preview
CodeScannerView(Context, AttributeSet) - Constructor for class com.budiyev.android.codescanner.CodeScannerView
A view to display code scanner preview
CodeScannerView(Context, AttributeSet, int) - Constructor for class com.budiyev.android.codescanner.CodeScannerView
A view to display code scanner preview
CodeScannerView(Context, AttributeSet, int, int) - Constructor for class com.budiyev.android.codescanner.CodeScannerView
A view to display code scanner preview
com.budiyev.android.codescanner - package com.budiyev.android.codescanner
 
createBitmap(BitMatrix) - Static method in class com.budiyev.android.codescanner.BarcodeUtils
Create bitmap from bit matrix

D

decodeBitmap(Bitmap) - Static method in class com.budiyev.android.codescanner.BarcodeUtils
Decode barcode from bitmap
decodeBitmap(Bitmap, Map<DecodeHintType, ?>) - Static method in class com.budiyev.android.codescanner.BarcodeUtils
Decode barcode from bitmap
DecodeCallback - Interface in com.budiyev.android.codescanner
Callback of the decoding process
decodeRgb(int[], int, int) - Static method in class com.budiyev.android.codescanner.BarcodeUtils
Decode barcode from RGB pixels array
decodeRgb(int[], int, int, Map<DecodeHintType, ?>) - Static method in class com.budiyev.android.codescanner.BarcodeUtils
Decode barcode from RGB pixels array
decodeYuv(byte[], int, int) - Static method in class com.budiyev.android.codescanner.BarcodeUtils
Decode barcode from YUV pixels array
decodeYuv(byte[], int, int, int, boolean, Map<DecodeHintType, ?>) - Static method in class com.budiyev.android.codescanner.BarcodeUtils
Decode barcode from YUV pixels array

E

encodeBitmap(String, BarcodeFormat, int, int) - Static method in class com.budiyev.android.codescanner.BarcodeUtils
Encode text content
encodeBitmap(String, BarcodeFormat, int, int, Map<EncodeHintType, ?>) - Static method in class com.budiyev.android.codescanner.BarcodeUtils
Encode text content
encodeBitMatrix(String, BarcodeFormat, int, int) - Static method in class com.budiyev.android.codescanner.BarcodeUtils
Encode text content
encodeBitMatrix(String, BarcodeFormat, int, int, Map<EncodeHintType, ?>) - Static method in class com.budiyev.android.codescanner.BarcodeUtils
Encode text content
ErrorCallback - Interface in com.budiyev.android.codescanner
Code scanner error callback

G

getAutoFocusButtonColor() - Method in class com.budiyev.android.codescanner.CodeScannerView
Get current auto focus button color
getAutoFocusMode() - Method in class com.budiyev.android.codescanner.CodeScanner
Get current auto focus mode
getCamera() - Method in class com.budiyev.android.codescanner.CodeScanner
getDecodeCallback() - Method in class com.budiyev.android.codescanner.CodeScanner
Get current decode callback
getErrorCallback() - Method in class com.budiyev.android.codescanner.CodeScanner
Get current error callback
getFlashButtonColor() - Method in class com.budiyev.android.codescanner.CodeScannerView
Get current flash button color
getFormats() - Method in class com.budiyev.android.codescanner.CodeScanner
Get current list of formats to decode
getFrameAspectRatioHeight() - Method in class com.budiyev.android.codescanner.CodeScannerView
Get current frame aspect ratio height
getFrameAspectRatioWidth() - Method in class com.budiyev.android.codescanner.CodeScannerView
Get current frame aspect ratio width
getFrameColor() - Method in class com.budiyev.android.codescanner.CodeScannerView
Get current frame color
getFrameCornersRadius() - Method in class com.budiyev.android.codescanner.CodeScannerView
Get current frame corners radius
getFrameCornersSize() - Method in class com.budiyev.android.codescanner.CodeScannerView
Get current frame corners size
getFrameSize() - Method in class com.budiyev.android.codescanner.CodeScannerView
Get current frame size
getFrameThickness() - Method in class com.budiyev.android.codescanner.CodeScannerView
Get current frame thickness
getMaskColor() - Method in class com.budiyev.android.codescanner.CodeScannerView
Get current mask color
getScanMode() - Method in class com.budiyev.android.codescanner.CodeScanner
Get current scan mode
getZoom() - Method in class com.budiyev.android.codescanner.CodeScanner
Get current zoom value

I

isAutoFocusButtonVisible() - Method in class com.budiyev.android.codescanner.CodeScannerView
Whether if auto focus button is currently visible
isAutoFocusEnabled() - Method in class com.budiyev.android.codescanner.CodeScanner
Auto focus is currently enabled or not
isFlashButtonVisible() - Method in class com.budiyev.android.codescanner.CodeScannerView
Whether if flash button is currently visible
isFlashEnabled() - Method in class com.budiyev.android.codescanner.CodeScanner
Flash light is currently enabled or not
isPreviewActive() - Method in class com.budiyev.android.codescanner.CodeScanner
Preview is active or not
isTouchFocusEnabled() - Method in class com.budiyev.android.codescanner.CodeScanner
Touch focus is currently enabled or not

O

onDecoded(Result) - Method in interface com.budiyev.android.codescanner.DecodeCallback
Called when decoder has successfully decoded the code
Note that this method always called on a worker thread
ONE_DIMENSIONAL_FORMATS - Static variable in class com.budiyev.android.codescanner.CodeScanner
One dimensional barcode formats
onError(Exception) - Method in interface com.budiyev.android.codescanner.ErrorCallback
Called when error has occurred
Note that this method always called on a worker thread
onLayout(boolean, int, int, int, int) - Method in class com.budiyev.android.codescanner.CodeScannerView
 
onSizeChanged(int, int, int, int) - Method in class com.budiyev.android.codescanner.CodeScannerView
 
onTouchEvent(MotionEvent) - Method in class com.budiyev.android.codescanner.CodeScannerView
 

R

releaseResources() - Method in class com.budiyev.android.codescanner.CodeScanner
Release resources, and stop preview if needed; call this method in Activity.onPause()
ROTATION_0 - Static variable in class com.budiyev.android.codescanner.BarcodeUtils
 
ROTATION_180 - Static variable in class com.budiyev.android.codescanner.BarcodeUtils
 
ROTATION_270 - Static variable in class com.budiyev.android.codescanner.BarcodeUtils
 
ROTATION_90 - Static variable in class com.budiyev.android.codescanner.BarcodeUtils
 

S

ScanMode - Enum in com.budiyev.android.codescanner
Code scanner scan mode
setAutoFocusButtonColor(int) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set auto focus button color
setAutoFocusButtonVisible(boolean) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set whether auto focus button is visible or not
setAutoFocusEnabled(boolean) - Method in class com.budiyev.android.codescanner.CodeScanner
Enable or disable auto focus if it's supported, true by default
setAutoFocusInterval(long) - Method in class com.budiyev.android.codescanner.CodeScanner
Auto focus interval in milliseconds for AutoFocusMode.SAFE mode, 2000 by default
setAutoFocusMode(AutoFocusMode) - Method in class com.budiyev.android.codescanner.CodeScanner
Auto focus mode, AutoFocusMode.SAFE by default
setCamera(int) - Method in class com.budiyev.android.codescanner.CodeScanner
Camera to use
setDecodeCallback(DecodeCallback) - Method in class com.budiyev.android.codescanner.CodeScanner
Callback of decoding process
setErrorCallback(ErrorCallback) - Method in class com.budiyev.android.codescanner.CodeScanner
Camera initialization error callback.
setFlashButtonColor(int) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set flash button color
setFlashButtonVisible(boolean) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set whether flash button is visible or not
setFlashEnabled(boolean) - Method in class com.budiyev.android.codescanner.CodeScanner
Enable or disable flash light if it's supported, false by default
setFormats(List<BarcodeFormat>) - Method in class com.budiyev.android.codescanner.CodeScanner
Formats, decoder to react to (CodeScanner.ALL_FORMATS by default)
setFrameAspectRatio(float, float) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set frame aspect ratio (ex. 1:1, 15:10, 16:9, 4:3)
setFrameAspectRatioHeight(float) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set frame aspect ratio height
setFrameAspectRatioWidth(float) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set frame aspect ratio width
setFrameColor(int) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set color of the frame
setFrameCornersRadius(int) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set current frame corners radius
setFrameCornersSize(int) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set size of the frame corners
setFrameSize(float) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set relative frame size where 1.0 means full size
setFrameThickness(int) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set frame thickness
setMaskColor(int) - Method in class com.budiyev.android.codescanner.CodeScannerView
Set color of the space outside of the framing rect
setScanMode(ScanMode) - Method in class com.budiyev.android.codescanner.CodeScanner
Scan mode, SINGLE by default
setTouchFocusEnabled(boolean) - Method in class com.budiyev.android.codescanner.CodeScanner
Enable or disable touch focus.
setZoom(int) - Method in class com.budiyev.android.codescanner.CodeScanner
Set current zoom value (between 0 and Camera.Parameters.getMaxZoom(), if larger, max zoom value will be set
startPreview() - Method in class com.budiyev.android.codescanner.CodeScanner
Start camera preview
Requires Manifest.permission#CAMERA permission
stopPreview() - Method in class com.budiyev.android.codescanner.CodeScanner
Stop camera preview
SUPPRESS - Static variable in interface com.budiyev.android.codescanner.ErrorCallback
Callback to suppress errors

T

TWO_DIMENSIONAL_FORMATS - Static variable in class com.budiyev.android.codescanner.CodeScanner
Two dimensional barcode formats

V

valueOf(String) - Static method in enum com.budiyev.android.codescanner.AutoFocusMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.budiyev.android.codescanner.ScanMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.budiyev.android.codescanner.AutoFocusMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.budiyev.android.codescanner.ScanMode
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G I O R S T V 
Skip navigation links