Interface DamonJsEvents

Hierarchy

  • DamonJsEvents

Properties

debug: [player: DamonJsPlayer, message: string]
initQueue: [player: DamonJsPlayer]
playerClosed: [player: DamonJsPlayer, data: WebSocketClosedEvent]
playerCreate: [player: DamonJsPlayer]
playerDestroy: [player: DamonJsPlayer, track?: DamonJsTrack]
playerEmpty: [player: DamonJsPlayer, track?: DamonJsTrack]
playerEnd: [player: DamonJsPlayer, track: DamonJsTrack, data: TrackEndEvent]
playerError: [player: DamonJsPlayer, error: Error]
playerException: [player: DamonJsPlayer, track: DamonJsTrack, data: TrackExceptionEvent]
playerMoved: [player: DamonJsPlayer, state: PlayerMovedState, channels: PlayerMovedChannels]
playerResolveError: [player: DamonJsPlayer, track: DamonJsTrack, message?: string]
playerResumed: [player: DamonJsPlayer]
playerStart: [player: DamonJsPlayer, track: DamonJsTrack]
playerStuck: [player: DamonJsPlayer, track: DamonJsTrack, data: TrackStuckEvent]
playerUpdate: [player: DamonJsPlayer, track: DamonJsTrack, data: PlayerUpdate]

Generated using TypeDoc