Class SourceBufferList
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The SourceBufferList interface represents a simple container list for multiple SourceBuffer objects.
[Value("SourceBufferList")]
public class SourceBufferList : EventTarget
- Inheritance
-
SourceBufferList
- Inherited Members
Remarks
The source buffer list containing the SourceBuffers appended to a particular MediaSource can be retrieved using the SourceBuffers property.
The individual source buffers can be accessed using the bracket notation [].
Constructors
SourceBufferList()
public SourceBufferList()
Properties
Length
The length read-only property of the
SourceBufferList interface returns the number of
SourceBuffer objects in the list.
[Value("length")]
public ulong Length { get; }
Property Value
- ulong
An unsigned long number.
Remarks
Onaddsourcebuffer
[Value("onaddsourcebuffer")]
public EventHandlerNonNull Onaddsourcebuffer { get; set; }
Property Value
Onremovesourcebuffer
[Value("onremovesourcebuffer")]
public EventHandlerNonNull Onremovesourcebuffer { get; set; }