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

OdinRoom.getMediaById

getMediaById(id: number): undefined | OdinMedia

Returns the OdinMedia instance matching the specified ID.

Parameters

NameTypeDescription
idnumberThe media ID to search for

Returns

TypeDescription
undefined | OdinMedia