C# Class MusicPlayer.NowPlaying

An empty page that can be used on its own or navigated to within a Frame.
Inheritance: Windows.UI.Xaml.Controls.Page
Mostra file Open project: dotnetcurry/Windows10-UWP

Private Properties

Property Type Description
AddMediaPlayerEventHandlers void
BackgroundMediaPlayer_MessageReceivedFromBackground void
GetCurrentTrackId Uri
LoadTrack void
NowPlaying_Loaded void
StartBackgroundAudioTask void
btnNext_Click void
btnPlay_Click void
btnPrev_Click void

Public Methods

Method Description
GetSongIndexById ( Uri id ) : int
NowPlaying ( ) : System

Protected Methods

Method Description
OnNavigatedFrom ( NavigationEventArgs e ) : void
OnNavigatedTo ( NavigationEventArgs e ) : void

Private Methods

Method Description
AddMediaPlayerEventHandlers ( ) : void
BackgroundMediaPlayer_MessageReceivedFromBackground ( object sender, MediaPlayerDataReceivedEventArgs e ) : void
GetCurrentTrackId ( ) : Uri
LoadTrack ( SoundCloudTrack currentTrack ) : void
NowPlaying_Loaded ( object sender, RoutedEventArgs e ) : void
StartBackgroundAudioTask ( ) : void
btnNext_Click ( object sender, RoutedEventArgs e ) : void
btnPlay_Click ( object sender, RoutedEventArgs e ) : void
btnPrev_Click ( object sender, RoutedEventArgs e ) : void

Method Details

GetSongIndexById() public method

public GetSongIndexById ( Uri id ) : int
id Uri
return int

NowPlaying() public method

public NowPlaying ( ) : System
return System

OnNavigatedFrom() protected method

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void

OnNavigatedTo() protected method

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void