getPicture
Suspending function to get picture from the camera.
Note: On Android platform you must also use addCameraResultCallback listener.
Return
a Result class containing the picture or the exception
Parameters
options
camera options
A function to get picture from the camera.
Note: On Android platform you must also use addCameraResultCallback listener.
Parameters
options
camera options
resultCallback
a callback function to get the Result, containing the picture or the exception