-
public interface ImageCaptureScenario.CallbackThe callback for ImageCaptureScenario. In case the image was captured successfully, the result image and the document boundaries on it are returned. Otherwise the callback will return the information about the occurred error. This interface and its methods are to be implemented on the client side.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonImageCaptured(ImageCaptureScenario.Result result)Delivers the result if the image was captured successfully. abstract UnitonError(Exception exception)This method is to be implemented on the client side, which may include displaying the error description to the user or handling it otherwise. -
-
Method Detail
-
onImageCaptured
@MainThread() abstract Unit onImageCaptured(ImageCaptureScenario.Result result)
Delivers the result if the image was captured successfully.
- Parameters:
result- The result of the capture scenario, represented by the Result object.
-
-
-
-