Developer Documentation
Our new developer documentation is now available. Please check it out!

MediaCollection.Contains

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