Enumerationswiftwasm.webapikit 0.1.0DOM
Bool_or_MediaTrackConstraints
Generated.swift:21154enum Bool_or_MediaTrackConstraints
enum Bool_or_MediaTrackConstraints
import DOM
case bool(Bool)
case mediaTrackConstraints(MediaTrackConstraints)
protocol Any_Bool_or_MediaTrackConstraints : ConvertibleToJSValue
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.
static func construct(from value: JSValue) -> Self?
var bool: Bool? { get }
var jsValue: JSValue { get }
var mediaTrackConstraints: MediaTrackConstraints? { get }
func jsValue() -> JSValue