object Camera
Main object for Cordova camera.
data class CameraPopoverOptions
iOS popover options. |
|
enum class DestinationType
Camera destination types. |
|
enum class Direction
Camera facing types. |
|
enum class EncodingType
Picture encoding types. |
|
enum class MediaType
Picture/video media types. |
|
enum class PictureSourceType
Camera picture/video sources. |
|
enum class PopoverArrowDirection
iOS popover arrow directions. |
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. |
|
fun cleanup(resultCallback: ((Result<String, CameraException>) -> Unit)? = null): Unit
Removes intermediate image files that are kept in the temporary storage after calling getPicture. |
|
suspend fun getPicture(options: CameraOptions): Result<String, CameraException>
Suspending function to get picture from the camera. fun getPicture(options: CameraOptions, resultCallback: (Result<String, CameraException>) -> Unit): Unit
A function to get picture from the camera. |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |