Preview Callback
kcn1-71 opened this issue · 1 comments
kcn1-71 commented
Hi there, thanks alot for your work =)
I am newbie, is there any way to setPreviewCallback ?
memfis19 commented
Hi, you can do this:
@Override
protected void onCameraControllerReady() {
super.onCameraControllerReady();
getCameraController().getCameraManager().handleCamera(new CameraHandler<Camera>() {
@Override
public void handleCamera(Camera camera) {
//camera.setPreviewCallback()
}
});
}