Developer Documentation

OdinMediaAddedEventPayload

export interface OdinMediaAddedEventPayload

The payload for the MediaAdded event.

Properties

NameTypeDescription
eventanyThe name of the event that was fired (see keys of OdinEvents for possible values).
mediaIdnumberThe ID of the media that was added.
peerIdnumberThe ID of the peer that added the media.
tagnumberAn internal integer representing the type of the event. This is mainly used internally for testing purposes.