take Picture
Takes picture.
This is asynchronous process, so results are reported via PictureCallback added in addPictureCallback. If snapping process is still going all subsequent calls to takePicture are ignored.
After picture is taken, camera preview is stopped. If you wish it continue, use startPreview If view is paused, this call is ignored.
Parameters
true to perform auto-focus before shooting. false to shoot as fast as possible using current camera state.
Takes picture.
This is asynchronous process, so results are reported via PictureCallback added in addPictureCallback. If snapping process is still going all subsequent calls to takePicture are ignored.
After picture is taken, camera preview is stopped. If you wish it continue, use startPreview If view is paused, this call is ignored.
Parameters
true
to perform auto-focus before shooting. false
to shoot as fast as possible using current camera state.
allows to define if the picture was taken automatically by any of AutoSnappingController. This flag will be passed to PictureCallback