C# Class VLC_WINRT.ViewModels.MainPage.PlayMusic.MusicPlayerViewModel

Inheritance: MediaPlaybackViewModel
Afficher le fichier Open project: kusl/vlcwinrt

Méthodes publiques

Méthode Description
CleanViewModel ( ) : void
MusicPlayerViewModel ( HistoryService historyService, IMediaService mediaService, VlcService mediaPlayerService ) : Autofac
Pause ( ) : void
Play ( ) : System.Threading.Tasks.Task
PlayFromExplorer ( StorageFile file ) : System.Threading.Tasks.Task
PlayNext ( ) : System.Threading.Tasks.Task
PlayPrevious ( ) : System.Threading.Tasks.Task
Resume ( ) : void
SetActiveMusicInfo ( string token, MusicLibraryViewModel track ) : void
Stop ( ) : void

Méthodes protégées

Méthode Description
MediaService_MediaEnded ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
MediaControl_NextTrackPressed ( object sender, object e ) : void
MediaControl_PreviousTrackPressed ( object sender, object e ) : void

Method Details

CleanViewModel() public méthode

public CleanViewModel ( ) : void
Résultat void

MediaService_MediaEnded() protected méthode

protected MediaService_MediaEnded ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MusicPlayerViewModel() public méthode

public MusicPlayerViewModel ( HistoryService historyService, IMediaService mediaService, VlcService mediaPlayerService ) : Autofac
historyService VLC_WINRT.Utility.Services.RunTime.HistoryService
mediaService IMediaService
mediaPlayerService VLC_WINRT.Utility.Services.RunTime.VlcService
Résultat Autofac

Pause() public méthode

public Pause ( ) : void
Résultat void

Play() public méthode

public Play ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

PlayFromExplorer() public méthode

public PlayFromExplorer ( StorageFile file ) : System.Threading.Tasks.Task
file Windows.Storage.StorageFile
Résultat System.Threading.Tasks.Task

PlayNext() public méthode

public PlayNext ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

PlayPrevious() public méthode

public PlayPrevious ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Resume() public méthode

public Resume ( ) : void
Résultat void

SetActiveMusicInfo() public méthode

public SetActiveMusicInfo ( string token, MusicLibraryViewModel track ) : void
token string
track MusicLibraryViewModel
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void