Developer Documentation
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

NameTypeDescription
idInt64handle id of the stream
itemMediaStreamstream

Returns

TypeDescription
Booleantrue on success or false

Variants

Contains(id)

public bool Contains(long id)

Determines whether the stream by id is in the collection

Parameters

NameTypeDescription
idInt64handle id of the stream

Returns

TypeDescription
Booleantrue on success or false

Contains(item)

public bool Contains(MediaStream item)

Determines whether the media is in the collection

Parameters

NameTypeDescription
itemMediaStreamstream

Returns

TypeDescription
Booleantrue on success or false