interface ManagerEvents { audioError(error: any, player: AudioPlayer): this; queueEnd(player: AudioPlayer): this; queueStart(urls: unknown[], player: AudioPlayer): this; trackAdd( track: | SoundCloudTrackInfo | LocalFileTrackInfo | UrlTrackInfo | YoutubeTrackInfo | SpotifyTrackInfo, player: AudioPlayer, ): this; trackEnd( track: Track< "SoundCloud" | "LocalFile" | "Url" | "Youtube" | "Spotify", >, player: AudioPlayer, ): this; trackPause(player: AudioPlayer): this; trackResume(player: AudioPlayer): this; trackStart( track: Track< "SoundCloud" | "LocalFile" | "Url" | "Youtube" | "Spotify", >, player: AudioPlayer, ): this;} Methods
audioError
- audioError(error: any, player: AudioPlayer): this
Returns this
queueStart
- queueStart(urls: unknown[], player: AudioPlayer): this
Returns this
trackEnd
- trackEnd(
track: Track<"SoundCloud" | "LocalFile" | "Url" | "Youtube" | "Spotify">,
player: AudioPlayer,
): this Parameters
- track: Track<"SoundCloud" | "LocalFile" | "Url" | "Youtube" | "Spotify">
- player: AudioPlayer
Returns this
trackStart
- trackStart(
track: Track<"SoundCloud" | "LocalFile" | "Url" | "Youtube" | "Spotify">,
player: AudioPlayer,
): this Parameters
- track: Track<"SoundCloud" | "LocalFile" | "Url" | "Youtube" | "Spotify">
- player: AudioPlayer
Returns this