Package org.w3c.dom.mediacapture
Types
Capabilities
interface Capabilities
ConstrainablePattern
interface ConstrainablePattern
ConstrainBooleanParameters
Exposes the JavaScript ConstrainBooleanParameters to Kotlin
interface ConstrainBooleanParameters
ConstrainDOMStringParameters
Exposes the JavaScript ConstrainDOMStringParameters to Kotlin
interface ConstrainDOMStringParameters
ConstrainDoubleRange
interface ConstrainDoubleRange : DoubleRange
Constraints
interface Constraints : ConstraintSet
ConstraintSet
interface ConstraintSet
ConstrainULongRange
interface ConstrainULongRange : ULongRange
DoubleRange
Exposes the JavaScript DoubleRange to Kotlin
interface DoubleRange
InputDeviceInfo
abstract class InputDeviceInfo : MediaDeviceInfo
MediaDeviceInfo
Exposes the JavaScript MediaDeviceInfo to Kotlin
abstract class MediaDeviceInfo
MediaDeviceKind
interface MediaDeviceKind
MediaDevices
Exposes the JavaScript MediaDevices to Kotlin
abstract class MediaDevices : EventTarget
MediaStream
Exposes the JavaScript MediaStream to Kotlin
open class MediaStream : EventTarget
MediaStreamConstraints
Exposes the JavaScript MediaStreamConstraints to Kotlin
interface MediaStreamConstraints
MediaStreamTrack
Exposes the JavaScript MediaStreamTrack to Kotlin
abstract class MediaStreamTrack : EventTarget
MediaStreamTrackEvent
Exposes the JavaScript MediaStreamTrackEvent to Kotlin
open class MediaStreamTrackEvent : Event
MediaStreamTrackEventInit
interface MediaStreamTrackEventInit : EventInit
MediaStreamTrackState
interface MediaStreamTrackState
MediaTrackCapabilities
interface MediaTrackCapabilities
MediaTrackConstraints
Exposes the JavaScript MediaTrackConstraints to Kotlin
interface MediaTrackConstraints : MediaTrackConstraintSet
MediaTrackConstraintSet
interface MediaTrackConstraintSet
MediaTrackSettings
Exposes the JavaScript MediaTrackSettings to Kotlin
interface MediaTrackSettings
MediaTrackSupportedConstraints
Exposes the JavaScript MediaTrackSupportedConstraints to Kotlin
interface MediaTrackSupportedConstraints
OverconstrainedErrorEvent
open class OverconstrainedErrorEvent : Event
OverconstrainedErrorEventInit
interface OverconstrainedErrorEventInit : EventInit
Settings
interface Settings
ULongRange
interface ULongRange
VideoFacingModeEnum
interface VideoFacingModeEnum
VideoResizeModeEnum
interface VideoResizeModeEnum
Functions
Capabilities
fun Capabilities(): Capabilities
ConstrainBooleanParameters
fun ConstrainBooleanParameters(
exact: Boolean? = undefined,
ideal: Boolean? = undefined
): ConstrainBooleanParameters
ConstrainDOMStringParameters
fun ConstrainDOMStringParameters(
exact: dynamic = undefined,
ideal: dynamic = undefined
): ConstrainDOMStringParameters
ConstrainDoubleRange
fun ConstrainDoubleRange(
exact: Double? = undefined,
ideal: Double? = undefined,
max: Double? = undefined,
min: Double? = undefined
): ConstrainDoubleRange
Constraints
fun Constraints(
advanced: Array<ConstraintSet>? = undefined
): Constraints
ConstraintSet
fun ConstraintSet(): ConstraintSet
ConstrainULongRange
fun ConstrainULongRange(
exact: Int? = undefined,
ideal: Int? = undefined,
max: Int? = undefined,
min: Int? = undefined
): ConstrainULongRange
DoubleRange
fun DoubleRange(
max: Double? = undefined,
min: Double? = undefined
): DoubleRange
MediaStreamConstraints
fun MediaStreamConstraints(
video: dynamic = false,
audio: dynamic = false
): MediaStreamConstraints
MediaStreamTrackEventInit
fun MediaStreamTrackEventInit(
track: MediaStreamTrack?,
bubbles: Boolean? = false,
cancelable: Boolean? = false,
composed: Boolean? = false
): MediaStreamTrackEventInit
MediaTrackCapabilities
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
MediaTrackConstraints
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
MediaTrackConstraintSet
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
MediaTrackSettings
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
MediaTrackSupportedConstraints
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
OverconstrainedErrorEventInit
fun OverconstrainedErrorEventInit(
error: dynamic = null,
bubbles: Boolean? = false,
cancelable: Boolean? = false,
composed: Boolean? = false
): OverconstrainedErrorEventInit
ULongRange
fun ULongRange(
max: Int? = undefined,
min: Int? = undefined
): ULongRange
Companion Object Properties
AUDIOINPUT
val MediaDeviceKind.Companion.AUDIOINPUT: MediaDeviceKind
AUDIOOUTPUT
val MediaDeviceKind.Companion.AUDIOOUTPUT: MediaDeviceKind
CROP_AND_SCALE
val VideoResizeModeEnum.Companion.CROP_AND_SCALE: VideoResizeModeEnum
ENDED
val MediaStreamTrackState.Companion.ENDED: MediaStreamTrackState
ENVIRONMENT
val VideoFacingModeEnum.Companion.ENVIRONMENT: VideoFacingModeEnum
LEFT
val VideoFacingModeEnum.Companion.LEFT: VideoFacingModeEnum
LIVE
val MediaStreamTrackState.Companion.LIVE: MediaStreamTrackState
NONE
val VideoResizeModeEnum.Companion.NONE: VideoResizeModeEnum
RIGHT
val VideoFacingModeEnum.Companion.RIGHT: VideoFacingModeEnum
USER
val VideoFacingModeEnum.Companion.USER: VideoFacingModeEnum
VIDEOINPUT
val MediaDeviceKind.Companion.VIDEOINPUT: MediaDeviceKind