扫码流程图
2018-04-03 16:14:04 0 举报
zxing扫码流程
作者其他创作
大纲/内容
setDesiredCameraParameters
new CameraManager(getApplication())
startPreview()
new PreviewCallback(configManager)
initFromCameraParameters(theCamera)
autoFocus(this)
start()
DecodeThread/DecodeHandler
CameraConfigurationManager
setCameraManager(cameraManager)
Camera
setPreviewDisplay(holder)
restartPreviewAndDecode()
CaptureActivityHandler
OpenCameraInterface.open(requestedCameraId)
AutoFocusManager
CameraManager
setOneShotPreviewCallback(previewCallback)
drawViewfinder()
handleMessage(Message message)
PreviewCallback
回调
CaptureActivity
initCamera(surfaceHolder)
openDriver(surfaceHolder)
ViewfinderView
OpenCameraInterface
new CameraConfigurationManager(context)
0 条评论
下一页