kvision / pl.treksoft.kvision.cordova / CameraOptions

CameraOptions

(js) data class CameraOptions

Camera options.

Constructors

(js)

<init>

Camera options.

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

Properties

(js)

allowEdit

val allowEdit: Boolean?
(js)

cameraDirection

val cameraDirection: Direction?
(js)

correctOrientation

val correctOrientation: Boolean?
(js)

destinationType

val destinationType: DestinationType?
(js)

encodingType

val encodingType: EncodingType?
(js)

mediaType

val mediaType: MediaType?
(js)

popoverOptions

val popoverOptions: CameraPopoverOptions?
(js)

quality

val quality: Int?
(js)

saveToPhotoAlbum

val saveToPhotoAlbum: Boolean?
(js)

sourceType

val sourceType: PictureSourceType?
(js)

targetHeight

val targetHeight: Int?
(js)

targetWidth

val targetWidth: Int?