Delegate TrackChangedDelegate
A music callback function, called when the music player transitions to a new track.
Namespace: Stem
Assembly: Stem.dll
Syntax
public delegate void TrackChangedDelegate(MusicPlayer player, PlaylistTrack oldTrack, PlaylistTrack newTrack);
Parameters
Type | Name | Description |
---|---|---|
MusicPlayer | player | A reference to a music player. |
PlaylistTrack | oldTrack | An old track that the music player was playing. |
PlaylistTrack | newTrack | A new track that the music player will play next. |