Method | Description | |
---|---|---|
ClearTracksInQueue ( ) : void | ||
GetCurrentTrack ( ) : |
||
GetTracksCountInQueue ( ) : int | ||
GetTracksInQueue ( ) : IEnumerable |
||
GetVolume ( ) : double | ||
InsertTracksToQueue ( IEnumerable |
||
InvalidateCachedTokens ( ) : void |
Invalidates the cached tokens. Used to make sure we purge the fix for the uri containing non-ascii7 characters. The current architecture relies on the fact that we only change the token if the cached token is outdated. fixes use url-shortening services and have their token enclosed, so it is necessary not to update the cached token indepedently from the cached uri fixes ! |
|
Pause ( ) : void | ||
PausePlayback ( ) : void | ||
PlayTrackInQueue ( System.Guid trackToPlay ) : void |
Clears the play queue. Inserts the specified tracks to the play queue. Plays the specified track. It must be present in the queue.
|
|
PlaybackService ( IAudioStationSession audioStationSession, IAudioTrackFactory audioTrackFactory, IVersionDependentResourcesProvider versionDependentResourceProvider ) : System |
Initializes a new instance of the PlaybackService class.
|
|
RemoveTracksFromQueue ( IEnumerable |
||
Resume ( ) : void | ||
ResumePlayback ( ) : void | ||
SetVolume ( double volume ) : void | ||
SkipNext ( ) : void | ||
SkipPrevious ( ) : void | ||
StreamTrack ( System.Guid guidOfTrackToPlay ) : void |
Method | Description | |
---|---|---|
OnTrackStarted ( |
Method | Description | |
---|---|---|
BackgroundPlayerPlayStateChanged ( object sender, |
||
DetectAffectedTracksAndBuildFix ( List |
Detects the affected tracks and build a fix.
|
|
OnBufferingProgressUpdated ( |
||
OnMediaPositionChanged ( object sender, |
||
OnTrackCurrentPositionChanged ( |
||
OnTracksInQueueChanged ( |
||
SerializeAsciiUriFixes ( ) : void | ||
SerializePlayqueue ( ) : void |
public GetCurrentTrack ( ) : |
||
return |
public InsertTracksToQueue ( IEnumerable |
||
tracks | IEnumerable |
|
insertPosition | int | |
callback | Guid>.Action | |
return | void |
protected OnTrackStarted ( |
||
trackStartedEventArgs | ||
return | void |
public PlayTrackInQueue ( System.Guid trackToPlay ) : void | ||
trackToPlay | System.Guid | The track to play. |
return | void |
public PlaybackService ( IAudioStationSession audioStationSession, IAudioTrackFactory audioTrackFactory, IVersionDependentResourcesProvider versionDependentResourceProvider ) : System | ||
audioStationSession | IAudioStationSession | |
audioTrackFactory | IAudioTrackFactory | |
versionDependentResourceProvider | IVersionDependentResourcesProvider | |
return | System |
public RemoveTracksFromQueue ( IEnumerable |
||
tracksToRemove | IEnumerable |
|
return | void |
public StreamTrack ( System.Guid guidOfTrackToPlay ) : void | ||
guidOfTrackToPlay | System.Guid | |
return | void |