MediaTrackSettings

external interface MediaTrackSettings(source)

Exposes the JavaScript MediaTrackSettings to Kotlin

Since Kotlin

1.1
external interface MediaTrackSettings : JsAny(source)

Exposes the JavaScript MediaTrackSettings to Kotlin

Since Kotlin

1.8

Properties

Link copied to clipboard
open var aspectRatio: Double?
Since Kotlin 1.1
open var aspectRatio: Double?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var channelCount: Int?
Since Kotlin 1.1
open var channelCount: Int?
Since Kotlin 1.8
Link copied to clipboard
open var deviceId: String?
Since Kotlin 1.1
open var deviceId: String?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var facingMode: String?
Since Kotlin 1.1
open var facingMode: String?
Since Kotlin 1.8
Link copied to clipboard
open var frameRate: Double?
Since Kotlin 1.1
open var frameRate: Double?
Since Kotlin 1.8
Link copied to clipboard
open var groupId: String?
Since Kotlin 1.1
open var groupId: String?
Since Kotlin 1.8
Link copied to clipboard
open var height: Int?
Since Kotlin 1.1
open var height: Int?
Since Kotlin 1.8
Link copied to clipboard
open var latency: Double?
Since Kotlin 1.1
open var latency: Double?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var resizeMode: String?
Since Kotlin 1.1
open var resizeMode: String?
Since Kotlin 1.8
Link copied to clipboard
open var sampleRate: Int?
Since Kotlin 1.1
open var sampleRate: Int?
Since Kotlin 1.8
Link copied to clipboard
open var sampleSize: Int?
Since Kotlin 1.1
open var sampleSize: Int?
Since Kotlin 1.8
Link copied to clipboard
open var volume: Double?
Since Kotlin 1.1
open var volume: Double?
Since Kotlin 1.8
Link copied to clipboard
open var width: Int?
Since Kotlin 1.1
open var width: Int?
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