MediaTrackConstraints

Exposes the JavaScript MediaTrackConstraints to Kotlin

Since Kotlin

1.1

Exposes the JavaScript MediaTrackConstraints to Kotlin

Since Kotlin

1.8

Properties

Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var aspectRatio: dynamic
Since Kotlin 1.1
open var aspectRatio: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var autoGainControl: dynamic
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var channelCount: dynamic
Since Kotlin 1.1
open var channelCount: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var deviceId: dynamic
Since Kotlin 1.1
open var deviceId: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var echoCancellation: dynamic
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var facingMode: dynamic
Since Kotlin 1.1
open var facingMode: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var frameRate: dynamic
Since Kotlin 1.1
open var frameRate: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var groupId: dynamic
Since Kotlin 1.1
open var groupId: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var height: dynamic
Since Kotlin 1.1
open var height: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var latency: dynamic
Since Kotlin 1.1
open var latency: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var noiseSuppression: dynamic
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var resizeMode: dynamic
Since Kotlin 1.1
open var resizeMode: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var sampleRate: dynamic
Since Kotlin 1.1
open var sampleRate: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var sampleSize: dynamic
Since Kotlin 1.1
open var sampleSize: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var volume: dynamic
Since Kotlin 1.1
open var volume: JsAny?
Since Kotlin 1.8
Link copied to clipboard
open var width: dynamic
Since Kotlin 1.1
open var width: JsAny?
Since Kotlin 1.8

Functions

Link copied to clipboard

For a Dynamic value caught in JS, returns the corresponding Throwable if it was thrown from Kotlin, or null otherwise.

Since Kotlin 1.8
Link copied to clipboard
fun <T : JsAny> JsAny.unsafeCast(): T

Cast JsAny to other Js type without runtime check

Since Kotlin 1.8