public interface MusicHelper extends PermanentSoundHelper
Modifier and Type | Method and Description |
---|---|
default void |
playerError(String message)
fires an Music-Player-Error
|
default void |
playerError(String message,
Identification target)
fires an Music-Player-Error
|
default void |
startedSound(boolean isUsingJava)
fires an StartEvent
|
default void |
startedSound(Playlist playlist,
Progress progress,
TrackInfo trackInfo,
Volume volume,
boolean isUsingJava)
fires an StartEvent
|
default void |
updatePlayInfo(Playlist playlist)
fires an update event which notifies that parameters have changed
|
default void |
updatePlayInfo(Playlist playlist,
Progress progress,
TrackInfo trackInfo,
Volume volume)
fires an update event which notifies that parameters have changed
|
default void |
updatePlayInfo(Progress progress)
fires an update event which notifies that parameters have changed
|
default void |
updatePlayInfo(TrackInfo trackInfo)
fires an update event which notifies that parameters have changed
|
default void |
updatePlayInfo(Volume volume)
fires an update event which notifies that parameters have changed
|
default void |
updateStateInfo(PlaybackState playbackState)
updates the PlaybackState
|
endedSound
fire, fire, fire, fire, fire
debug, debug, error, error, getContext
getID, isOwner
default void startedSound(boolean isUsingJava)
startedSound
in interface PermanentSoundHelper
isUsingJava
- true if using java, false if not (and for example a C-library)default void startedSound(Playlist playlist, Progress progress, TrackInfo trackInfo, Volume volume, boolean isUsingJava)
playlist
- the playlist or nullprogress
- the progress or nulltrackInfo
- the trackInfo or nullvolume
- the volume or nullisUsingJava
- true if using java, false if not (and for example a C-library)default void playerError(String message)
message
- the messagedefault void playerError(String message, Identification target)
message
- the messagetarget
- the one who caused the errordefault void updatePlayInfo(Playlist playlist, Progress progress, TrackInfo trackInfo, Volume volume)
playlist
- the optional playlistprogress
- the optional progresstrackInfo
- the optional trackInfovolume
- the optional volumedefault void updatePlayInfo(Playlist playlist)
playlist
- the optional playlistdefault void updatePlayInfo(Progress progress)
progress
- the optional progressdefault void updatePlayInfo(TrackInfo trackInfo)
trackInfo
- the optional trackInfodefault void updatePlayInfo(Volume volume)
volume
- the optional volumedefault void updateStateInfo(PlaybackState playbackState)
playbackState
- the playbackStateCopyright © 2016. All rights reserved.