SourceBuffer
Generated.swift:15455class SourceBuffer
class SourceBuffer
import DOM
class EventTarget
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.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
required init(unsafelyWrapping jsObject: JSObject)
override class var constructor: JSFunction? { get }
@ReadWriteAttribute var appendWindowEnd: Double { get set }
@ReadWriteAttribute var appendWindowStart: Double { get set }
@ReadonlyAttribute var audioTracks: AudioTrackList { get }
@ReadonlyAttribute var buffered: TimeRanges { get }
@ReadWriteAttribute var mode: AppendMode { get set }
@ClosureAttribute1Optional var onabort: EventHandler { get set }
@ClosureAttribute1Optional var onerror: EventHandler { get set }
@ClosureAttribute1Optional var onupdate: EventHandler { get set }
@ClosureAttribute1Optional var onupdateend: EventHandler { get set }
@ClosureAttribute1Optional var onupdatestart: EventHandler { get set }
@ReadonlyAttribute var textTracks: TextTrackList { get }
@ReadWriteAttribute var timestampOffset: Double { get set }
@ReadonlyAttribute var updating: Bool { get }
@ReadonlyAttribute var videoTracks: VideoTrackList { get }
func abort()
func appendBuffer(data: BufferSource)
func changeType(type: String)
func remove(start: Double, end: Double)