Our new developer documentation is now available. Please check it out!
MediaCollection.Remove
Warning
Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.
public bool Remove(long id)
public bool Remove(MediaStream item)
Remove a stream by handle id from the collection
Info
Always false if the collection IsReadOnly
Parameters
Name | Type | Description |
---|---|---|
id | Int64 | handle id of the stream to remove |
item | MediaStream | stream to remove |
Returns
Type | Description |
---|---|
Boolean | true on success or false |
Variants
Remove(id)
public bool Remove(long id)
Remove a stream by handle id from the collection
Warning
Always false if the collection IsReadOnly
Parameters
Name | Type | Description |
---|---|---|
id | Int64 | handle id of the stream to remove |
Returns
Type | Description |
---|---|
Boolean | true on success or false |
Remove(item)
public bool Remove(MediaStream item)
Remove a stream from the collection
Warning
Always false if the collection IsReadOnly
Parameters
Name | Type | Description |
---|---|---|
item | MediaStream | stream to remove |
Returns
Type | Description |
---|---|
Boolean | true on success or false |