MediaSource class
- Inheritance
- Object
- EventTarget
- MediaSource
- Annotations
- @SupportedBrowser.new(SupportedBrowser.CHROME)
- @SupportedBrowser.new(SupportedBrowser.IE, '11')
- @Native.new("MediaSource")
Constructors
- MediaSource()
- factory
Properties
- activeSourceBuffers→SourceBufferList?
- no setter
- duration↔num?
- getter/setter pair
- hashCode→int
- The hash code for this object.no setterinherited
- on→Events
- This is an ease-of-use accessor for event streams which should only beused when an explicit accessor is not available.no setterinherited
- readyState→String?
- no setter
- runtimeType→Type
- A representation of the runtime type of the object.no setterinherited
- sourceBuffers→SourceBufferList?
- no setter
Methods
- addEventListener(
Stringtype,EventListener?listener, [bool?useCapture])→ void - inherited
- addSourceBuffer(
Stringtype)→SourceBuffer - clearLiveSeekableRange(
)→ void - dispatchEvent(
Eventevent)→bool - inherited
- endOfStream(
[String?error])→ void - noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- removeEventListener(
Stringtype,EventListener?listener, [bool?useCapture])→ void - inherited
- removeSourceBuffer(
SourceBufferbuffer)→ void - setLiveSeekableRange(
numstart,numend)→ void - toString(
)→String - A string representation of this object.inherited
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited
Static Properties
Static Methods
- isTypeSupported(
Stringtype)→bool