-
- All Implemented Interfaces:
-
com.herohan.uvcapp.IImageCapture
public class ImageCapture2 implements IImageCapture
-
-
Method Summary
Modifier and Type Method Description voidsetConfig(ImageCaptureConfig config)voidtakePicture(@NonNull() IImageCapture.OutputFileOptions outputFileOptions, @NonNull() IImageCapture.OnImageCaptureCallback imageSavedCallback)Captures a new still image and saves to a file. voidrelease()-
-
Method Detail
-
setConfig
void setConfig(ImageCaptureConfig config)
-
takePicture
void takePicture(@NonNull() IImageCapture.OutputFileOptions outputFileOptions, @NonNull() IImageCapture.OnImageCaptureCallback imageSavedCallback)
Captures a new still image and saves to a file.
The callback will be called only once for every invocation of this method.
- Parameters:
outputFileOptions- Options to store the newly captured image.imageSavedCallback- Callback to be called for the newly captured image.
-
release
void release()
-
-
-
-