Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-browser
/
web.imagecapture
/
ImageCapture
Image
Capture
open
class
ImageCapture
(
videoTrack
:
MediaStreamTrack
)
(
source
)
MDN Reference
Members
Constructors
Image
Capture
Link copied to clipboard
constructor
(
videoTrack
:
MediaStreamTrack
)
Properties
track
Link copied to clipboard
val
track
:
MediaStreamTrack
MDN Reference
Functions
get
Photo
Capabilities
Link copied to clipboard
suspend
fun
getPhotoCapabilities
(
)
:
PhotoCapabilities
MDN Reference
get
Photo
Capabilities
Async
Link copied to clipboard
fun
getPhotoCapabilitiesAsync
(
)
:
Promise
<
PhotoCapabilities
>
get
Photo
Settings
Link copied to clipboard
suspend
fun
getPhotoSettings
(
)
:
PhotoSettings
MDN Reference
get
Photo
Settings
Async
Link copied to clipboard
fun
getPhotoSettingsAsync
(
)
:
Promise
<
PhotoSettings
>
take
Photo
Link copied to clipboard
suspend
fun
takePhoto
(
photoSettings
:
PhotoSettings
=
definedExternally
)
:
Blob
MDN Reference
take
Photo
Async
Link copied to clipboard
fun
takePhotoAsync
(
photoSettings
:
PhotoSettings
=
definedExternally
)
:
Promise
<
Blob
>