C# Class SoundCloudPlus.AudioPlayer

Inheritance: INotifyPropertyChanged
Mostrar archivo Open project: justijndepover/Soundcloudplus

Public Methods

Method Description
AddMediaPlayerEventHandlers ( ) : void
AudioPlayer ( ) : System
GetCurrentTrackIdAfterAppResume ( ) : string
GetTrackById ( string trackId ) : Task
PlayTrack ( List playList, Track track ) : void
RemoveMediaPlayerEventHandlers ( ) : void
StartBackgroundAudioTask ( ) : void

Protected Methods

Method Description
OnCurrentTrackChanged ( EventArgs e ) : void
OnPropertyChanged ( [ propertyName = null ) : void

Private Methods

Method Description
BackgroundMediaPlayer_MessageReceivedFromBackground ( object sender, MediaPlayerDataReceivedEventArgs e ) : void
BackgroundTaskInitializationCompleted ( IAsyncAction action, AsyncStatus status ) : void
CurrentPlayer_CurrentStateChanged ( MediaPlayer sender, object args ) : void
ResetAfterLostBackground ( ) : void
UpdateLiveTile ( Track t ) : void
UpdateToastMessage ( Track t ) : void

Method Details

AddMediaPlayerEventHandlers() public method

public AddMediaPlayerEventHandlers ( ) : void
return void

AudioPlayer() public method

public AudioPlayer ( ) : System
return System

GetCurrentTrackIdAfterAppResume() public method

public GetCurrentTrackIdAfterAppResume ( ) : string
return string

GetTrackById() public method

public GetTrackById ( string trackId ) : Task
trackId string
return Task

OnCurrentTrackChanged() protected method

protected OnCurrentTrackChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( [ propertyName = null ) : void
propertyName [
return void

PlayTrack() public method

public PlayTrack ( List playList, Track track ) : void
playList List
track ClassLibrary.Models.Track
return void

RemoveMediaPlayerEventHandlers() public method

public RemoveMediaPlayerEventHandlers ( ) : void
return void

StartBackgroundAudioTask() public method

public StartBackgroundAudioTask ( ) : void
return void