Package-level declarations

Types

Link copied to clipboard
external interface Capabilities
Since Kotlin 1.1
external interface Capabilities : JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface ConstrainablePattern
Since Kotlin 1.1
external interface ConstrainablePattern : JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface ConstrainBooleanParameters

Exposes the JavaScript ConstrainBooleanParameters to Kotlin

Since Kotlin 1.1
external interface ConstrainBooleanParameters : JsAny

Exposes the JavaScript ConstrainBooleanParameters to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface ConstrainDOMStringParameters

Exposes the JavaScript ConstrainDOMStringParameters to Kotlin

Since Kotlin 1.1
external interface ConstrainDOMStringParameters : JsAny

Exposes the JavaScript ConstrainDOMStringParameters to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface ConstrainDoubleRange : DoubleRange
Since Kotlin 1.1
external interface ConstrainDoubleRange : DoubleRange, JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface Constraints : ConstraintSet
Since Kotlin 1.1
external interface Constraints : ConstraintSet, JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface ConstraintSet
Since Kotlin 1.1
external interface ConstraintSet : JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface ConstrainULongRange : ULongRange
Since Kotlin 1.1
external interface ConstrainULongRange : ULongRange, JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface DoubleRange

Exposes the JavaScript DoubleRange to Kotlin

Since Kotlin 1.1
external interface DoubleRange : JsAny

Exposes the JavaScript DoubleRange to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class InputDeviceInfo : MediaDeviceInfo
Since Kotlin 1.1
abstract external class InputDeviceInfo : MediaDeviceInfo, JsAny
Since Kotlin 1.8
Link copied to clipboard
abstract external class MediaDeviceInfo

Exposes the JavaScript MediaDeviceInfo to Kotlin

Since Kotlin 1.1
abstract external class MediaDeviceInfo : JsAny

Exposes the JavaScript MediaDeviceInfo to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface MediaDeviceKind
Since Kotlin 1.1
external interface MediaDeviceKind : JsAny
Since Kotlin 1.8
Link copied to clipboard
abstract external class MediaDevices : EventTarget

Exposes the JavaScript MediaDevices to Kotlin

Since Kotlin 1.1
abstract external class MediaDevices : EventTarget, JsAny

Exposes the JavaScript MediaDevices to Kotlin

Since Kotlin 1.8
Link copied to clipboard
open external class MediaStream : EventTarget, MediaProvider

Exposes the JavaScript MediaStream to Kotlin

Since Kotlin 1.1
open external class MediaStream : EventTarget, MediaProvider, JsAny

Exposes the JavaScript MediaStream to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface MediaStreamConstraints

Exposes the JavaScript MediaStreamConstraints to Kotlin

Since Kotlin 1.1
external interface MediaStreamConstraints : JsAny

Exposes the JavaScript MediaStreamConstraints to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class MediaStreamTrack : EventTarget

Exposes the JavaScript MediaStreamTrack to Kotlin

Since Kotlin 1.1
abstract external class MediaStreamTrack : EventTarget, JsAny

Exposes the JavaScript MediaStreamTrack to Kotlin

Since Kotlin 1.8
Link copied to clipboard
open external class MediaStreamTrackEvent(type: String, eventInitDict: MediaStreamTrackEventInit) : Event

Exposes the JavaScript MediaStreamTrackEvent to Kotlin

Since Kotlin 1.1
open external class MediaStreamTrackEvent(type: String, eventInitDict: MediaStreamTrackEventInit) : Event, JsAny

Exposes the JavaScript MediaStreamTrackEvent to Kotlin

Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
external interface MediaStreamTrackState
Since Kotlin 1.1
external interface MediaStreamTrackState : JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface MediaTrackCapabilities
Since Kotlin 1.1
external interface MediaTrackCapabilities : JsAny
Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript MediaTrackConstraints to Kotlin

Since Kotlin 1.1

Exposes the JavaScript MediaTrackConstraints to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface MediaTrackConstraintSet
Since Kotlin 1.1
external interface MediaTrackConstraintSet : JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface MediaTrackSettings

Exposes the JavaScript MediaTrackSettings to Kotlin

Since Kotlin 1.1
external interface MediaTrackSettings : JsAny

Exposes the JavaScript MediaTrackSettings to Kotlin

Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript MediaTrackSupportedConstraints to Kotlin

Since Kotlin 1.1

Exposes the JavaScript MediaTrackSupportedConstraints to Kotlin

Since Kotlin 1.8
Link copied to clipboard
open external class OverconstrainedErrorEvent(type: String, eventInitDict: OverconstrainedErrorEventInit) : Event
Since Kotlin 1.1
open external class OverconstrainedErrorEvent(type: String, eventInitDict: OverconstrainedErrorEventInit) : Event, JsAny
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
external interface Settings
Since Kotlin 1.1
external interface Settings : JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface ULongRange
Since Kotlin 1.1
external interface ULongRange : JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface VideoFacingModeEnum
Since Kotlin 1.1
external interface VideoFacingModeEnum : JsAny
Since Kotlin 1.8
Link copied to clipboard
external interface VideoResizeModeEnum
Since Kotlin 1.1
external interface VideoResizeModeEnum : JsAny
Since Kotlin 1.8

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
inline fun ConstrainBooleanParameters(exact: Boolean? = undefined, ideal: Boolean? = undefined): ConstrainBooleanParameters
Since Kotlin 1.1
fun ConstrainBooleanParameters(exact: Boolean? = undefined, ideal: Boolean? = undefined): ConstrainBooleanParameters
Since Kotlin 1.8
Link copied to clipboard
inline fun ConstrainDOMStringParameters(exact: dynamic = undefined, ideal: dynamic = undefined): ConstrainDOMStringParameters
Since Kotlin 1.1
fun ConstrainDOMStringParameters(exact: JsAny? = undefined, ideal: JsAny? = undefined): ConstrainDOMStringParameters
Since Kotlin 1.8
Link copied to clipboard
inline fun ConstrainDoubleRange(exact: Double? = undefined, ideal: Double? = undefined, max: Double? = undefined, min: Double? = undefined): ConstrainDoubleRange
Since Kotlin 1.1
fun ConstrainDoubleRange(exact: Double? = undefined, ideal: Double? = undefined, max: Double? = undefined, min: Double? = undefined): ConstrainDoubleRange
Since Kotlin 1.8
Link copied to clipboard
inline fun Constraints(advanced: Array<ConstraintSet>? = undefined): Constraints
Since Kotlin 1.1
fun Constraints(advanced: JsArray<ConstraintSet>? = undefined): Constraints
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
inline fun ConstrainULongRange(exact: Int? = undefined, ideal: Int? = undefined, max: Int? = undefined, min: Int? = undefined): ConstrainULongRange
Since Kotlin 1.1
fun ConstrainULongRange(exact: Int? = undefined, ideal: Int? = undefined, max: Int? = undefined, min: Int? = undefined): ConstrainULongRange
Since Kotlin 1.8
Link copied to clipboard
inline fun DoubleRange(max: Double? = undefined, min: Double? = undefined): DoubleRange
Since Kotlin 1.1
fun DoubleRange(max: Double? = undefined, min: Double? = undefined): DoubleRange
Since Kotlin 1.8
Link copied to clipboard
inline fun MediaStreamConstraints(video: dynamic = false, audio: dynamic = false): MediaStreamConstraints
Since Kotlin 1.1
fun MediaStreamConstraints(video: JsAny? = false.toJsBoolean(), audio: JsAny? = false.toJsBoolean()): MediaStreamConstraints
Since Kotlin 1.8
Link copied to clipboard
inline fun MediaStreamTrackEventInit(track: MediaStreamTrack?, bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): MediaStreamTrackEventInit
Since Kotlin 1.1
fun MediaStreamTrackEventInit(track: MediaStreamTrack?, bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): MediaStreamTrackEventInit
Since Kotlin 1.8
Link copied to clipboard
inline fun MediaTrackCapabilities(width: ULongRange? = undefined, height: ULongRange? = undefined, aspectRatio: DoubleRange? = undefined, frameRate: DoubleRange? = undefined, facingMode: Array<String>? = undefined, resizeMode: Array<String>? = undefined, volume: DoubleRange? = undefined, sampleRate: ULongRange? = undefined, sampleSize: ULongRange? = undefined, echoCancellation: Array<Boolean>? = undefined, autoGainControl: Array<Boolean>? = undefined, noiseSuppression: Array<Boolean>? = undefined, latency: DoubleRange? = undefined, channelCount: ULongRange? = undefined, deviceId: String? = undefined, groupId: String? = undefined): MediaTrackCapabilities
Since Kotlin 1.1
fun MediaTrackCapabilities(width: ULongRange? = undefined, height: ULongRange? = undefined, aspectRatio: DoubleRange? = undefined, frameRate: DoubleRange? = undefined, facingMode: JsArray<JsString>? = undefined, resizeMode: JsArray<JsString>? = undefined, volume: DoubleRange? = undefined, sampleRate: ULongRange? = undefined, sampleSize: ULongRange? = undefined, echoCancellation: JsArray<JsBoolean>? = undefined, autoGainControl: JsArray<JsBoolean>? = undefined, noiseSuppression: JsArray<JsBoolean>? = undefined, latency: DoubleRange? = undefined, channelCount: ULongRange? = undefined, deviceId: String? = undefined, groupId: String? = undefined): MediaTrackCapabilities
Since Kotlin 1.8
Link copied to clipboard
inline fun MediaTrackConstraints(advanced: Array<MediaTrackConstraintSet>? = undefined, width: dynamic = undefined, height: dynamic = undefined, aspectRatio: dynamic = undefined, frameRate: dynamic = undefined, facingMode: dynamic = undefined, resizeMode: dynamic = undefined, volume: dynamic = undefined, sampleRate: dynamic = undefined, sampleSize: dynamic = undefined, echoCancellation: dynamic = undefined, autoGainControl: dynamic = undefined, noiseSuppression: dynamic = undefined, latency: dynamic = undefined, channelCount: dynamic = undefined, deviceId: dynamic = undefined, groupId: dynamic = undefined): MediaTrackConstraints
Since Kotlin 1.1
fun MediaTrackConstraints(advanced: JsArray<MediaTrackConstraintSet>? = undefined, width: JsAny? = undefined, height: JsAny? = undefined, aspectRatio: JsAny? = undefined, frameRate: JsAny? = undefined, facingMode: JsAny? = undefined, resizeMode: JsAny? = undefined, volume: JsAny? = undefined, sampleRate: JsAny? = undefined, sampleSize: JsAny? = undefined, echoCancellation: JsAny? = undefined, autoGainControl: JsAny? = undefined, noiseSuppression: JsAny? = undefined, latency: JsAny? = undefined, channelCount: JsAny? = undefined, deviceId: JsAny? = undefined, groupId: JsAny? = undefined): MediaTrackConstraints
Since Kotlin 1.8
Link copied to clipboard
inline fun MediaTrackConstraintSet(width: dynamic = undefined, height: dynamic = undefined, aspectRatio: dynamic = undefined, frameRate: dynamic = undefined, facingMode: dynamic = undefined, resizeMode: dynamic = undefined, volume: dynamic = undefined, sampleRate: dynamic = undefined, sampleSize: dynamic = undefined, echoCancellation: dynamic = undefined, autoGainControl: dynamic = undefined, noiseSuppression: dynamic = undefined, latency: dynamic = undefined, channelCount: dynamic = undefined, deviceId: dynamic = undefined, groupId: dynamic = undefined): MediaTrackConstraintSet
Since Kotlin 1.1
fun MediaTrackConstraintSet(width: JsAny? = undefined, height: JsAny? = undefined, aspectRatio: JsAny? = undefined, frameRate: JsAny? = undefined, facingMode: JsAny? = undefined, resizeMode: JsAny? = undefined, volume: JsAny? = undefined, sampleRate: JsAny? = undefined, sampleSize: JsAny? = undefined, echoCancellation: JsAny? = undefined, autoGainControl: JsAny? = undefined, noiseSuppression: JsAny? = undefined, latency: JsAny? = undefined, channelCount: JsAny? = undefined, deviceId: JsAny? = undefined, groupId: JsAny? = undefined): MediaTrackConstraintSet
Since Kotlin 1.8
Link copied to clipboard
inline fun MediaTrackSettings(width: Int? = undefined, height: Int? = undefined, aspectRatio: Double? = undefined, frameRate: Double? = undefined, facingMode: String? = undefined, resizeMode: String? = undefined, volume: Double? = undefined, sampleRate: Int? = undefined, sampleSize: Int? = undefined, echoCancellation: Boolean? = undefined, autoGainControl: Boolean? = undefined, noiseSuppression: Boolean? = undefined, latency: Double? = undefined, channelCount: Int? = undefined, deviceId: String? = undefined, groupId: String? = undefined): MediaTrackSettings
Since Kotlin 1.1
fun MediaTrackSettings(width: Int? = undefined, height: Int? = undefined, aspectRatio: Double? = undefined, frameRate: Double? = undefined, facingMode: String? = undefined, resizeMode: String? = undefined, volume: Double? = undefined, sampleRate: Int? = undefined, sampleSize: Int? = undefined, echoCancellation: Boolean? = undefined, autoGainControl: Boolean? = undefined, noiseSuppression: Boolean? = undefined, latency: Double? = undefined, channelCount: Int? = undefined, deviceId: String? = undefined, groupId: String? = undefined): MediaTrackSettings
Since Kotlin 1.8
Link copied to clipboard
inline fun MediaTrackSupportedConstraints(width: Boolean? = true, height: Boolean? = true, aspectRatio: Boolean? = true, frameRate: Boolean? = true, facingMode: Boolean? = true, resizeMode: Boolean? = true, volume: Boolean? = true, sampleRate: Boolean? = true, sampleSize: Boolean? = true, echoCancellation: Boolean? = true, autoGainControl: Boolean? = true, noiseSuppression: Boolean? = true, latency: Boolean? = true, channelCount: Boolean? = true, deviceId: Boolean? = true, groupId: Boolean? = true): MediaTrackSupportedConstraints
Since Kotlin 1.1
fun MediaTrackSupportedConstraints(width: Boolean? = true, height: Boolean? = true, aspectRatio: Boolean? = true, frameRate: Boolean? = true, facingMode: Boolean? = true, resizeMode: Boolean? = true, volume: Boolean? = true, sampleRate: Boolean? = true, sampleSize: Boolean? = true, echoCancellation: Boolean? = true, autoGainControl: Boolean? = true, noiseSuppression: Boolean? = true, latency: Boolean? = true, channelCount: Boolean? = true, deviceId: Boolean? = true, groupId: Boolean? = true): MediaTrackSupportedConstraints
Since Kotlin 1.8
Link copied to clipboard
inline fun OverconstrainedErrorEventInit(error: dynamic = null, bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): OverconstrainedErrorEventInit
Since Kotlin 1.1
fun OverconstrainedErrorEventInit(error: JsAny? = null, bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): OverconstrainedErrorEventInit
Since Kotlin 1.8
Link copied to clipboard
inline fun Settings(): Settings
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
inline fun ULongRange(max: Int? = undefined, min: Int? = undefined): ULongRange
Since Kotlin 1.1
fun ULongRange(max: Int? = undefined, min: Int? = undefined): ULongRange
Since Kotlin 1.8