kvision / pl.treksoft.kvision.cordova / CameraOptions

CameraOptions

data class CameraOptions

Camera options.

Constructors

<init>

CameraOptions(quality: Int? = null, destinationType: Camera.DestinationType? = null, sourceType: Camera.PictureSourceType? = null, allowEdit: Boolean? = null, encodingType: Camera.EncodingType? = null, targetWidth: Int? = null, targetHeight: Int? = null, mediaType: Camera.MediaType? = null, correctOrientation: Boolean? = null, saveToPhotoAlbum: Boolean? = null, popoverOptions: Camera.CameraPopoverOptions? = null, cameraDirection: Camera.Direction? = null)

Camera options.

Properties

allowEdit

val allowEdit: Boolean?

cameraDirection

val cameraDirection: Camera.Direction?

correctOrientation

val correctOrientation: Boolean?

destinationType

val destinationType: Camera.DestinationType?

encodingType

val encodingType: Camera.EncodingType?

mediaType

val mediaType: Camera.MediaType?

popoverOptions

val popoverOptions: Camera.CameraPopoverOptions?

quality

val quality: Int?

saveToPhotoAlbum

val saveToPhotoAlbum: Boolean?

sourceType

val sourceType: Camera.PictureSourceType?

targetHeight

val targetHeight: Int?

targetWidth

val targetWidth: Int?

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.