MediaTrackSettings
Generated.swift:11492class MediaTrackSettings
class MediaTrackSettings
import DOM
class BridgedDictionary
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
required init(unsafelyWrapping object: JSObject)
convenience init(width: UInt32, height: UInt32, aspectRatio: Double, frameRate: Double, facingMode: String, resizeMode: String, sampleRate: UInt32, sampleSize: UInt32, echoCancellation: Bool, autoGainControl: Bool, noiseSuppression: Bool, latency: Double, channelCount: UInt32, deviceId: String, groupId: String)
@ReadWriteAttribute var aspectRatio: Double { get set }
@ReadWriteAttribute var autoGainControl: Bool { get set }
@ReadWriteAttribute var channelCount: UInt32 { get set }
@ReadWriteAttribute var deviceId: String { get set }
@ReadWriteAttribute var echoCancellation: Bool { get set }
@ReadWriteAttribute var facingMode: String { get set }
@ReadWriteAttribute var frameRate: Double { get set }
@ReadWriteAttribute var groupId: String { get set }
@ReadWriteAttribute var height: UInt32 { get set }
@ReadWriteAttribute var latency: Double { get set }
@ReadWriteAttribute var noiseSuppression: Bool { get set }
@ReadWriteAttribute var resizeMode: String { get set }
@ReadWriteAttribute var sampleRate: UInt32 { get set }
@ReadWriteAttribute var sampleSize: UInt32 { get set }
@ReadWriteAttribute var width: UInt32 { get set }