kvision / pl.treksoft.kvision.cordova / Camera / addCameraResultCallback

addCameraResultCallback

(js) fun addCameraResultCallback(resultCallback: (Result<String, CameraException>) -> Unit): Unit

An Android specific function to get picture from the camera after resume when the application webview intent is killed.

Parameters

resultCallback - a callback function to get the Result, containing the picture or the exception