Our new developer documentation is now available. Please check it out!
MediaCollection.Contains
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 Contains(long id)
public bool Contains(MediaStream item)
Determines whether the stream by id is in the collection
Parameters
Name | Type | Description |
---|---|---|
id | Int64 | handle id of the stream |
item | MediaStream | stream |
Returns
Type | Description |
---|---|
Boolean | true on success or false |
Variants
Contains(id)
public bool Contains(long id)
Determines whether the stream by id is in the collection
Parameters
Name | Type | Description |
---|---|---|
id | Int64 | handle id of the stream |
Returns
Type | Description |
---|---|
Boolean | true on success or false |
Contains(item)
public bool Contains(MediaStream item)
Determines whether the media is in the collection
Parameters
Name | Type | Description |
---|---|---|
item | MediaStream | stream |
Returns
Type | Description |
---|---|
Boolean | true on success or false |