public static interface TXZCameraManager.CameraTool
限定符和类型 | 方法和说明 |
---|---|
boolean |
capturePicure(long time,
TXZCameraManager.CapturePictureListener listener)
抓取行车记录仪照片
|
boolean |
captureVideo(TXZCameraManager.CaptureVideoListener frontListener,
TXZCameraManager.CaptureVideoListener backListener)
调用行车记录仪抓拍视频
|
boolean capturePicure(long time, TXZCameraManager.CapturePictureListener listener)
time
- 抓拍图片的时间戳,应从System.currentTimeMillis()获取,需要注意的是0表示当前。listener
- boolean captureVideo(TXZCameraManager.CaptureVideoListener frontListener, TXZCameraManager.CaptureVideoListener backListener)
frontListener
- 前置摄像头抓拍回调backListener
- 后置摄像头抓拍回调