Our new developer documentation is now available. Please check it out!
MediaCollection
public class MediaCollection : IReadOnlyCollection<MediaStream>, IEnumerable<MediaStream>, IEnumerable, IEqualityComparer<MediaStream>
Internal collection of available media streams
Properties
Name | Type | Description |
---|---|---|
Item[Int64] | MediaStream | Try to get a media stream by ID |
Count | Int32 | Count of streams in the collection |
IsReadOnly | Boolean | Indicates whether elements can be added or removed from the collection |
Public Methods
Name | Description |
---|---|
Add | Add a stream to the collection |
Clear | Free and empty the collection |
Contains | Determines whether the stream by id is in the collection |
CopyTo | Copies stream of the collection to an array |
Equals | Determines whether the streams are equal |
GetEnumerator | Get enumerator for iteration |
GetHashCode | Default GetHashCode |
Remove | Remove a stream by handle id from the collection |
System.Collections.IEnumerable.GetEnumerator |