JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
V
W
X
A
ACTION
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Encode
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.
ACTION
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Scan
Send this intent to open the Barcodes app in scanning mode, find a barcode, and return the results.
ACTION
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.SearchBookContents
Use Google Book Search to search the contents of the book provided.
ACTION
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Share
Give the user a choice of items to encode as a barcode, then render it as a QR Code and display onscreen for a friend to scan with their phone.
ACTION
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.WifiConnect
Internal intent used to trigger connection to a wi-fi network.
ACTION_DEFAULT_CAPTURE
- Static variable in class com.xuexiang.xqrcode.
XQRCode
默认二维码扫描的activity启动
addPossibleResultPoint(ResultPoint)
- Method in class com.xuexiang.xqrcode.view.
ViewfinderView
analyze(String, QRCodeAnalyzeUtils.AnalyzeCallback)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeAnalyzeUtils
解析二维码(接口回调返回结果)
analyze(Bitmap, QRCodeAnalyzeUtils.AnalyzeCallback)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeAnalyzeUtils
解析二维码(接口回调返回结果)
analyze(String)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeAnalyzeUtils
解析二维码(简单返回结果,扫描失败返回空)
analyze(Bitmap)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeAnalyzeUtils
解析二维码
analyzeQRCode(String)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeAnalyzeUtils
获取解析二维码的结果
analyzeQRCode(String, QRCodeAnalyzeUtils.AnalyzeCallback)
- Static method in class com.xuexiang.xqrcode.
XQRCode
解析二维码(接口回调返回结果)
analyzeQRCode(Bitmap, QRCodeAnalyzeUtils.AnalyzeCallback)
- Static method in class com.xuexiang.xqrcode.
XQRCode
解析二维码(接口回调返回结果)
analyzeQRCode(String)
- Static method in class com.xuexiang.xqrcode.
XQRCode
解析二维码(简单返回结果,扫描失败返回空)
analyzeQRCode(Bitmap)
- Static method in class com.xuexiang.xqrcode.
XQRCode
解析二维码(简单返回结果)
AUTO_FOCUS_INTERVAL_MS
- Static variable in class com.xuexiang.xqrcode.camera.
AutoFocusCallback
AutoFocusCallback
- Class in
com.xuexiang.xqrcode.camera
自动聚焦的回掉
AutoFocusCallback()
- Constructor for class com.xuexiang.xqrcode.camera.
AutoFocusCallback
B
beforeCapture()
- Method in class com.xuexiang.xqrcode.ui.
CaptureActivity
做二维码采集之前需要做的事情
BitmapLuminanceSource
- Class in
com.xuexiang.xqrcode.camera
自定义解析Bitmap LuminanceSource
BitmapLuminanceSource(Bitmap)
- Constructor for class com.xuexiang.xqrcode.camera.
BitmapLuminanceSource
build()
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
生成二维码
Builder(String)
- Constructor for class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
buildLuminanceSource(byte[], int, int)
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
A factory method to build the appropriate LuminanceSource object based on the format of the preview buffers, as described by Camera.Parameters.
C
callBack(Exception)
- Method in interface com.xuexiang.xqrcode.ui.
CaptureFragment.CameraInitCallBack
Callback for Camera init result.
CameraManager
- Class in
com.xuexiang.xqrcode.camera
This object wraps the Camera service object and expects to be the only one talking to it.
CaptureActivity
- Class in
com.xuexiang.xqrcode.ui
默认的二维码扫描Activity
CaptureActivity()
- Constructor for class com.xuexiang.xqrcode.ui.
CaptureActivity
CaptureFragment
- Class in
com.xuexiang.xqrcode.ui
自定义实现的扫描Fragment
CaptureFragment()
- Constructor for class com.xuexiang.xqrcode.ui.
CaptureFragment
CaptureFragment.CameraInitCallBack
- Interface in
com.xuexiang.xqrcode.ui
CaptureViewHandler
- Class in
com.xuexiang.xqrcode.decoding
扫描界面处理者
CaptureViewHandler(ICaptureView, Vector<BarcodeFormat>, String, ViewfinderView)
- Constructor for class com.xuexiang.xqrcode.decoding.
CaptureViewHandler
CHARACTER_SET
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Scan
closeDriver()
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
Closes the camera driver if still in use.
com.xuexiang.xqrcode
- package com.xuexiang.xqrcode
com.xuexiang.xqrcode.camera
- package com.xuexiang.xqrcode.camera
com.xuexiang.xqrcode.decoding
- package com.xuexiang.xqrcode.decoding
com.xuexiang.xqrcode.logs
- package com.xuexiang.xqrcode.logs
com.xuexiang.xqrcode.ui
- package com.xuexiang.xqrcode.ui
com.xuexiang.xqrcode.util
- package com.xuexiang.xqrcode.util
com.xuexiang.xqrcode.view
- package com.xuexiang.xqrcode.view
create(String, int, int, int, int)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
create(String, int, int, int, int, Bitmap)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
create(String, int, int, int, int, Bitmap, boolean)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
create(String, int, int, float, int, int, Bitmap, boolean)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
create(String, int, int, float, Bitmap, boolean, boolean)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
create(String, int, int, float, Bitmap, boolean, boolean, int)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
create(String, int, int, float, int, int, Bitmap, boolean, boolean)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
create(String, int, int, float, int, int, Bitmap, boolean, boolean, boolean)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
create(String, int, int, float, int, int, Bitmap, boolean, boolean, boolean, int)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
Create a QR matrix and render it use given configs.
create(String, int, int, Bitmap)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
生成含图标的二维码图片
createQRCodeWithLogo(String, int, int, Bitmap)
- Static method in class com.xuexiang.xqrcode.
XQRCode
生成含图标的二维码图片
createQRCodeWithLogo(String, Bitmap)
- Static method in class com.xuexiang.xqrcode.
XQRCode
生成含图标的二维码图片
D
d(String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印调试信息
DATA
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Encode
The data to encode.
DATA_MATRIX_FORMATS
- Static variable in class com.xuexiang.xqrcode.decoding.
DecodeFormatManager
DATA_MATRIX_MODE
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Scan
Decode only Data Matrix codes.
debug(boolean)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
设置是否打开调试
debug(String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
设置调试模式
debug(boolean)
- Static method in class com.xuexiang.xqrcode.
XQRCode
设置是否打开调试
debug(String)
- Static method in class com.xuexiang.xqrcode.
XQRCode
设置调试模式
DecodeFormatManager
- Class in
com.xuexiang.xqrcode.decoding
编码管理
DEFAULT_LOG_TAG
- Static variable in class com.xuexiang.xqrcode.logs.
QCLog
默认tag
disableFlashLight()
- Static method in class com.xuexiang.xqrcode.
XQRCode
关闭闪光灯
drawViewfinder()
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
drawViewfinder()
- Method in interface com.xuexiang.xqrcode.ui.
ICaptureView
开始画扫描控件
drawViewfinder()
- Method in class com.xuexiang.xqrcode.view.
ViewfinderView
dTag(String, String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印调试信息
E
e(String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印出错信息
e(Throwable)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印出错堆栈信息
e(String, Throwable)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印出错堆栈信息
enableFlashLight()
- Static method in class com.xuexiang.xqrcode.
XQRCode
开启闪光灯
eTag(String, String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印出错信息
eTag(String, Throwable)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印出错堆栈信息
eTag(String, String, Throwable)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印出错堆栈信息
F
FinishListener
- Class in
com.xuexiang.xqrcode.decoding
简单的界面结束的监听
FinishListener(Activity)
- Constructor for class com.xuexiang.xqrcode.decoding.
FinishListener
FORMAT
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Encode
The barcode format to be displayed.
foundPossibleResultPoint(ResultPoint)
- Method in class com.xuexiang.xqrcode.view.
ViewfinderResultPointCallback
FRAME_HEIGHT
- Static variable in class com.xuexiang.xqrcode.camera.
CameraManager
FRAME_MARGIN_TOP
- Static variable in class com.xuexiang.xqrcode.camera.
CameraManager
FRAME_WIDTH
- Static variable in class com.xuexiang.xqrcode.camera.
CameraManager
G
get()
- Static method in class com.xuexiang.xqrcode.camera.
CameraManager
Gets the CameraManager singleton instance.
getActivity()
- Method in interface com.xuexiang.xqrcode.ui.
ICaptureView
getAnalyzeCallback()
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
getAnalyzeQRCodeResult(String)
- Static method in class com.xuexiang.xqrcode.
XQRCode
获取解析二维码的结果
getAutoFocusCallback()
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
getAutoFocusInterval()
- Static method in class com.xuexiang.xqrcode.
XQRCode
getBitmap(String, int, int)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeAnalyzeUtils
根据路径获取图片
getCamera()
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
getCaptureFragment(int)
- Static method in class com.xuexiang.xqrcode.
XQRCode
获取CaptureFragment设置layout参数
getCaptureFragment(int, boolean, long)
- Static method in class com.xuexiang.xqrcode.
XQRCode
获取CaptureFragment设置扫码参数
getCaptureHandler()
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
getCaptureHandler()
- Method in interface com.xuexiang.xqrcode.ui.
ICaptureView
getCaptureLayoutId()
- Method in class com.xuexiang.xqrcode.ui.
CaptureActivity
getContext()
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
getDataHeight()
- Method in class com.xuexiang.xqrcode.camera.
PlanarYUVLuminanceSource
getDataWidth()
- Method in class com.xuexiang.xqrcode.camera.
PlanarYUVLuminanceSource
getDefaultScanSize(Context)
- Method in class com.xuexiang.xqrcode.view.
ViewfinderView
获取默认扫描的尺寸
getFramingRect()
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
Calculates the framing rect which the UI should draw to show the user where to place the barcode.
getFramingRectInPreview()
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
Like
CameraManager.getFramingRect()
but coordinates are in terms of the preview frame, not UI / screen.
getMatrix()
- Method in class com.xuexiang.xqrcode.camera.
BitmapLuminanceSource
getMatrix()
- Method in class com.xuexiang.xqrcode.camera.
PlanarYUVLuminanceSource
getPreviewCallback()
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
getRow(int, byte[])
- Method in class com.xuexiang.xqrcode.camera.
BitmapLuminanceSource
getRow(int, byte[])
- Method in class com.xuexiang.xqrcode.camera.
PlanarYUVLuminanceSource
H
handleAnalyzeFailed()
- Method in class com.xuexiang.xqrcode.ui.
CaptureActivity
处理解析失败
handleAnalyzeSuccess(Bitmap, String)
- Method in class com.xuexiang.xqrcode.ui.
CaptureActivity
处理扫描成功
handleDecode(Result, Bitmap)
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
Handler scan result
handleDecode(Result, Bitmap)
- Method in interface com.xuexiang.xqrcode.ui.
ICaptureView
响应处理二维码扫描结果
handleMessage(Message)
- Method in class com.xuexiang.xqrcode.decoding.
CaptureViewHandler
handleRequestPermissionDeny()
- Method in class com.xuexiang.xqrcode.ui.
CaptureActivity
处理权限申请拒绝
I
i(String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印提示性的信息
ICaptureView
- Interface in
com.xuexiang.xqrcode.ui
二维码扫描界面实现接口
ILogger
- Interface in
com.xuexiang.xqrcode.logs
desc : 简易的日志记录接口 author : xuexiang time : 2018/4/30 下午12:18
InactivityTimer
- Class in
com.xuexiang.xqrcode.decoding
定时关闭界面(默认5分钟)
InactivityTimer(Activity)
- Constructor for class com.xuexiang.xqrcode.decoding.
InactivityTimer
init(Context)
- Static method in class com.xuexiang.xqrcode.camera.
CameraManager
Initializes this static object with the Context of the calling Activity.
initCaptureFragment()
- Method in class com.xuexiang.xqrcode.ui.
CaptureActivity
初始化采集
Intents
- Class in
com.xuexiang.xqrcode.decoding
This class provides the constants to use when sending an Intent to Barcode Scanner.
Intents.Encode
- Class in
com.xuexiang.xqrcode.decoding
Intents.Scan
- Class in
com.xuexiang.xqrcode.decoding
Intents.SearchBookContents
- Class in
com.xuexiang.xqrcode.decoding
Intents.Share
- Class in
com.xuexiang.xqrcode.decoding
Intents.WifiConnect
- Class in
com.xuexiang.xqrcode.decoding
ISBN
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.SearchBookContents
The book to search, identified by ISBN number.
isCropSupported()
- Method in class com.xuexiang.xqrcode.camera.
PlanarYUVLuminanceSource
isFlashLightOpen()
- Static method in class com.xuexiang.xqrcode.
XQRCode
isPreviewing()
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
isUseOneShotPreviewCallback()
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
iTag(String, String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印提示性的信息
K
KEY_CAPTURE_THEME
- Static variable in class com.xuexiang.xqrcode.ui.
CaptureActivity
KEY_IS_REPEATED
- Static variable in class com.xuexiang.xqrcode.
XQRCode
是否是重复扫码
KEY_LAYOUT_ID
- Static variable in class com.xuexiang.xqrcode.
XQRCode
CaptureFragment加载的容器Id
KEY_SCAN_INTERVAL
- Static variable in class com.xuexiang.xqrcode.
XQRCode
扫码的间隙
L
log(int, String, String, Throwable)
- Method in interface com.xuexiang.xqrcode.logs.
ILogger
打印信息
log(int, String, String, Throwable)
- Method in class com.xuexiang.xqrcode.logs.
LogcatLogger
打印信息
log(int, String, String)
- Method in class com.xuexiang.xqrcode.logs.
LogcatLogger
使用LogCat输出日志,字符长度超过4000则自动换行.
LogcatLogger
- Class in
com.xuexiang.xqrcode.logs
desc : 默认Logcat日志记录 author : xuexiang time : 2018/4/30 下午12:18
LogcatLogger()
- Constructor for class com.xuexiang.xqrcode.logs.
LogcatLogger
M
MODE
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Scan
By default, sending Scan.ACTION will decode all barcodes that we understand.
N
newBuilder(String)
- Static method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
获取二维码生成构建者
newInstance(int)
- Static method in class com.xuexiang.xqrcode.ui.
CaptureFragment
构建扫描Fragment
newInstance(int, boolean, long)
- Static method in class com.xuexiang.xqrcode.ui.
CaptureFragment
构建扫描Fragment
newQRCodeBuilder(String)
- Static method in class com.xuexiang.xqrcode.
XQRCode
获取二维码生成构建者
O
onActivity()
- Method in class com.xuexiang.xqrcode.decoding.
InactivityTimer
onAnalyzeFailed()
- Method in interface com.xuexiang.xqrcode.util.
QRCodeAnalyzeUtils.AnalyzeCallback
解析失败
onAnalyzeSuccess(Bitmap, String)
- Method in interface com.xuexiang.xqrcode.util.
QRCodeAnalyzeUtils.AnalyzeCallback
解析成功
onAutoFocus(boolean, Camera)
- Method in class com.xuexiang.xqrcode.camera.
AutoFocusCallback
onCameraInitFailed()
- Method in class com.xuexiang.xqrcode.ui.
CaptureActivity
相机初始化失败
onCameraInitSuccess()
- Method in class com.xuexiang.xqrcode.ui.
CaptureActivity
相机初始化成功
onCancel(DialogInterface)
- Method in class com.xuexiang.xqrcode.decoding.
FinishListener
onClick(DialogInterface, int)
- Method in class com.xuexiang.xqrcode.decoding.
FinishListener
onCreate(Bundle)
- Method in class com.xuexiang.xqrcode.ui.
CaptureActivity
onCreate(Activity)
- Static method in class com.xuexiang.xqrcode.ui.
CaptureFragment
处理Activity【防止锁屏和fragment里面放surfaceView,第一次黑屏的问题】
onCreate(Bundle)
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
onCreateView(LayoutInflater, ViewGroup, Bundle)
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
onDestroyView()
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
onDraw(Canvas)
- Method in class com.xuexiang.xqrcode.view.
ViewfinderView
ONE_D_FORMATS
- Static variable in class com.xuexiang.xqrcode.decoding.
DecodeFormatManager
ONE_D_MODE
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Scan
Decode only 1D barcodes (currently UPC, EAN, Code 39, and Code 128).
onPause()
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
onPreviewFrame(byte[], Camera)
- Method in class com.xuexiang.xqrcode.camera.
PreviewCallback
onRequestPermissionsResult(int, String[], int[])
- Method in class com.xuexiang.xqrcode.ui.
CaptureActivity
onResume()
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
openDriver(SurfaceHolder)
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
Opens the camera driver and initializes the hardware parameters.
P
PASSWORD
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.WifiConnect
The network to connect to, all the configuration provided here.
PlanarYUVLuminanceSource
- Class in
com.xuexiang.xqrcode.camera
This object extends LuminanceSource around an array of YUV data returned from the camera driver, with the option to crop to a rectangle within the full data.
PlanarYUVLuminanceSource(byte[], int, int, int, int, int, int)
- Constructor for class com.xuexiang.xqrcode.camera.
PlanarYUVLuminanceSource
PreviewCallback
- Class in
com.xuexiang.xqrcode.camera
PRODUCT_FORMATS
- Static variable in class com.xuexiang.xqrcode.decoding.
DecodeFormatManager
PRODUCT_MODE
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Scan
Decode only UPC and EAN barcodes.
Q
QCLog
- Class in
com.xuexiang.xqrcode.logs
二维码日志记录
QR_CODE_FORMATS
- Static variable in class com.xuexiang.xqrcode.decoding.
DecodeFormatManager
QR_CODE_MODE
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Scan
Decode only QR codes.
QRCODE_BITMAP_MAX_SIZE
- Static variable in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils
二维码最大尺寸
QRCodeAnalyzeUtils
- Class in
com.xuexiang.xqrcode.util
desc : 二维码解析工具类 author : xuexiang time : 2018/5/4 上午12:09
QRCodeAnalyzeUtils.AnalyzeCallback
- Interface in
com.xuexiang.xqrcode.util
解析二维码结果
QRCodeProduceUtils
- Class in
com.xuexiang.xqrcode.util
desc : 二维码生成工具类 author : xuexiang time : 2018/5/4 上午12:05
QRCodeProduceUtils.Builder
- Class in
com.xuexiang.xqrcode.util
二维码生成构建者
QUERY
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.SearchBookContents
An optional field which is the text to search for.
quitSynchronously()
- Method in class com.xuexiang.xqrcode.decoding.
CaptureViewHandler
R
renderCroppedGreyscaleBitmap()
- Method in class com.xuexiang.xqrcode.camera.
PlanarYUVLuminanceSource
REQUEST_CODE_REQUEST_PERMISSIONS
- Static variable in class com.xuexiang.xqrcode.ui.
CaptureActivity
requestAutoFocus(Handler, int)
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
Asks the camera hardware to perform an autofocus.
requestPreviewFrame(Handler, int)
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
A single preview frame will be returned to the handler supplied.
requireNonNull(T)
- Static method in class com.xuexiang.xqrcode.ui.
CaptureFragment
RESULT
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Scan
If a barcode is found, Barcodes returns RESULT_OK to onActivityResult() of the app which requested the scan via startSubActivity().
RESULT_DATA
- Static variable in class com.xuexiang.xqrcode.
XQRCode
扫描到的数据
RESULT_FAILED
- Static variable in class com.xuexiang.xqrcode.
XQRCode
扫描失败
RESULT_FORMAT
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Scan
Call intent.getStringExtra(RESULT_FORMAT) to determine which barcode format was found.
RESULT_SUCCESS
- Static variable in class com.xuexiang.xqrcode.
XQRCode
扫描成功
RESULT_TYPE
- Static variable in class com.xuexiang.xqrcode.
XQRCode
扫描返回的结果
run()
- Method in class com.xuexiang.xqrcode.decoding.
FinishListener
S
sAutoFocusInterval
- Static variable in class com.xuexiang.xqrcode.
XQRCode
自动聚焦的间期
SAVE_HISTORY
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Scan
Setting this to false will not save scanned codes in the history.
SCAN_FORMATS
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Scan
Comma-separated list of formats to scan for.
setAnalyzeCallback(QRCodeAnalyzeUtils.AnalyzeCallback)
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
setAutoColor(boolean)
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
设置是否自动从背景图案中选取色值
setAutoFocusInterval(long)
- Static method in class com.xuexiang.xqrcode.
XQRCode
设置自动聚焦的间期【默认是1500ms】
setBackgroundImage(Bitmap)
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
设置背景图案
setBinarize(boolean)
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
设置是否(二值化)灰度化背景图案
setBinarizeThreshold(int)
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
设置二值化中值
setCameraInitCallBack(CaptureFragment.CameraInitCallBack)
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
Set callback for Camera check whether Camera init success or not.
setColorDark(int)
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
设置深色点(true-dots)色值
setColorLight(int)
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
设置浅色点(false-dots)色值
setContents(String)
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
设置二维码携带的内容
setDataDotScale(float)
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
设置二维码的数据点缩放比例
setDebug(boolean)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
设置是否是调试模式
setFragmentArgs(CaptureFragment, int)
- Static method in class com.xuexiang.xqrcode.
XQRCode
为CaptureFragment设置layout参数
setFragmentArgs(CaptureFragment, int, boolean, long)
- Static method in class com.xuexiang.xqrcode.
XQRCode
为CaptureFragment设置layout参数
setHandler(Handler, int)
- Method in class com.xuexiang.xqrcode.camera.
AutoFocusCallback
setHandler(Handler, int)
- Method in class com.xuexiang.xqrcode.camera.
PreviewCallback
setLogger(ILogger)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
设置日志记录者的接口
setMargin(int)
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
设置二维码的边缘宽度
setPreviewing(boolean)
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
setPriority(int)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
设置打印日志的等级(只打印改等级以上的日志)
setSize(int)
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
设置二维码的尺寸
setTag(String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
设置日志的tag
setWhiteMargin(boolean)
- Method in class com.xuexiang.xqrcode.util.
QRCodeProduceUtils.Builder
设置是否是白色的边缘
showNoPermissionTip(Activity, DialogInterface.OnClickListener)
- Static method in class com.xuexiang.xqrcode.ui.
CaptureActivity
显示无照相机权限提示
showNoPermissionTip(Activity)
- Static method in class com.xuexiang.xqrcode.ui.
CaptureActivity
显示无照相机权限提示
shutdown()
- Method in class com.xuexiang.xqrcode.decoding.
InactivityTimer
SSID
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.WifiConnect
The network to connect to, all the configuration provided here.
start(Fragment, int, int)
- Static method in class com.xuexiang.xqrcode.ui.
CaptureActivity
开始二维码扫描
startPreview()
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
Asks the camera hardware to begin drawing preview frames to the screen.
startScan(Fragment, int)
- Static method in class com.xuexiang.xqrcode.
XQRCode
开始二维码扫描
startScan(Fragment, int, int)
- Static method in class com.xuexiang.xqrcode.
XQRCode
开始二维码扫描
stopPreview()
- Method in class com.xuexiang.xqrcode.camera.
CameraManager
Tells the camera to stop drawing preview frames.
surfaceChanged(SurfaceHolder, int, int, int)
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
surfaceCreated(SurfaceHolder)
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
surfaceDestroyed(SurfaceHolder)
- Method in class com.xuexiang.xqrcode.ui.
CaptureFragment
switchFlashLight(boolean)
- Static method in class com.xuexiang.xqrcode.
XQRCode
开关闪光灯
T
TYPE
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.Encode
The type of data being supplied if the format is QR Code.
TYPE
- Static variable in class com.xuexiang.xqrcode.decoding.
Intents.WifiConnect
The network to connect to, all the configuration provided here.
V
v(String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印任何(所有)信息
ViewfinderResultPointCallback
- Class in
com.xuexiang.xqrcode.view
ViewfinderResultPointCallback(ViewfinderView)
- Constructor for class com.xuexiang.xqrcode.view.
ViewfinderResultPointCallback
ViewfinderView
- Class in
com.xuexiang.xqrcode.view
自定义组件实现,扫描功能
ViewfinderView(Context)
- Constructor for class com.xuexiang.xqrcode.view.
ViewfinderView
ViewfinderView(Context, AttributeSet)
- Constructor for class com.xuexiang.xqrcode.view.
ViewfinderView
ViewfinderView(Context, AttributeSet, int)
- Constructor for class com.xuexiang.xqrcode.view.
ViewfinderView
vTag(String, String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印任何(所有)信息
W
w(String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印warning警告信息
wTag(String, String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印warning警告信息
wtf(String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印严重的错误信息
wtfTag(String, String)
- Static method in class com.xuexiang.xqrcode.logs.
QCLog
打印严重的错误信息
X
XQRCode
- Class in
com.xuexiang.xqrcode
二维码 XQRCode API
XQRCode()
- Constructor for class com.xuexiang.xqrcode.
XQRCode
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
V
W
X
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes