C# Class VLC_WINRT.ViewModels.MediaPlaybackViewModel

Inheritance: NavigateableViewModel, IDisposable
Afficher le fichier Open project: kusl/vlcwinrt

Protected Properties

Свойство Type Description
_displayAlwaysOnRequest Windows.System.Display.DisplayRequest
_elapsedTime System.TimeSpan
_fileToken string
_goBackCommand VLC_WINRT.Utility.Commands.StopVideoCommand
_historyService VLC_WINRT.Utility.Services.RunTime.HistoryService
_isPlaying bool
_mediaService IMediaService
_mrl string
_playNext VLC_WINRT.Utility.Commands.MusicPlayer.PlayNextCommand
_playOrPause VLC_WINRT.Utility.Commands.PlayPauseCommand
_playPrevious VLC_WINRT.Utility.Commands.MusicPlayer.PlayPreviousCommand
_skipAhead VLC_WINRT.Utility.Commands.ActionCommand
_skipBack VLC_WINRT.Utility.Commands.ActionCommand
_sliderPositionTimer Windows.UI.Xaml.DispatcherTimer
_timeTotal System.TimeSpan
_title string
_vlcPlayerService VLC_WINRT.Utility.Services.RunTime.VlcService

Méthodes publiques

Méthode Description
CleanViewModel ( ) : void
Dispose ( ) : void
OnNavigatedFrom ( NavigationEventArgs e ) : System.Threading.Tasks.Task

Méthodes protégées

Méthode Description
MediaPlaybackViewModel ( HistoryService historyService, IMediaService mediaService, VlcService mediaPlayerService ) : System
OnPlaybackStarting ( ) : void
OnPlaybackStopped ( ) : void
PlayerStateChanged ( object sender, VlcService e ) : void

Private Methods

Méthode Description
FirePositionUpdate ( object sender, object e ) : void
ProtectedDisplayCall ( bool shouldActivate ) : void
UpdateDate ( ) : void
UpdatePosition ( object sender, object e ) : System.Threading.Tasks.Task

Method Details

CleanViewModel() public méthode

public CleanViewModel ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

MediaPlaybackViewModel() protected méthode

protected MediaPlaybackViewModel ( HistoryService historyService, IMediaService mediaService, VlcService mediaPlayerService ) : System
historyService VLC_WINRT.Utility.Services.RunTime.HistoryService
mediaService IMediaService
mediaPlayerService VLC_WINRT.Utility.Services.RunTime.VlcService
Résultat System

OnNavigatedFrom() public méthode

public OnNavigatedFrom ( NavigationEventArgs e ) : System.Threading.Tasks.Task
e Windows.UI.Xaml.Navigation.NavigationEventArgs
Résultat System.Threading.Tasks.Task

OnPlaybackStarting() protected méthode

protected OnPlaybackStarting ( ) : void
Résultat void

OnPlaybackStopped() protected méthode

protected OnPlaybackStopped ( ) : void
Résultat void

PlayerStateChanged() protected méthode

protected PlayerStateChanged ( object sender, VlcService e ) : void
sender object
e VLC_WINRT.Utility.Services.RunTime.VlcService
Résultat void

Property Details

_displayAlwaysOnRequest protected_oe property

protected DisplayRequest,Windows.System.Display _displayAlwaysOnRequest
Résultat Windows.System.Display.DisplayRequest

_elapsedTime protected_oe property

protected TimeSpan,System _elapsedTime
Résultat System.TimeSpan

_fileToken protected_oe property

protected string _fileToken
Résultat string

_goBackCommand protected_oe property

protected StopVideoCommand,VLC_WINRT.Utility.Commands _goBackCommand
Résultat VLC_WINRT.Utility.Commands.StopVideoCommand

_historyService protected_oe property

protected HistoryService,VLC_WINRT.Utility.Services.RunTime _historyService
Résultat VLC_WINRT.Utility.Services.RunTime.HistoryService

_isPlaying protected_oe property

protected bool _isPlaying
Résultat bool

_mediaService protected_oe property

protected IMediaService _mediaService
Résultat IMediaService

_mrl protected_oe property

protected string _mrl
Résultat string

_playNext protected_oe property

protected PlayNextCommand,VLC_WINRT.Utility.Commands.MusicPlayer _playNext
Résultat VLC_WINRT.Utility.Commands.MusicPlayer.PlayNextCommand

_playOrPause protected_oe property

protected PlayPauseCommand,VLC_WINRT.Utility.Commands _playOrPause
Résultat VLC_WINRT.Utility.Commands.PlayPauseCommand

_playPrevious protected_oe property

protected PlayPreviousCommand,VLC_WINRT.Utility.Commands.MusicPlayer _playPrevious
Résultat VLC_WINRT.Utility.Commands.MusicPlayer.PlayPreviousCommand

_skipAhead protected_oe property

protected ActionCommand,VLC_WINRT.Utility.Commands _skipAhead
Résultat VLC_WINRT.Utility.Commands.ActionCommand

_skipBack protected_oe property

protected ActionCommand,VLC_WINRT.Utility.Commands _skipBack
Résultat VLC_WINRT.Utility.Commands.ActionCommand

_sliderPositionTimer protected_oe property

protected DispatcherTimer,Windows.UI.Xaml _sliderPositionTimer
Résultat Windows.UI.Xaml.DispatcherTimer

_timeTotal protected_oe property

protected TimeSpan,System _timeTotal
Résultat System.TimeSpan

_title protected_oe property

protected string _title
Résultat string

_vlcPlayerService protected_oe property

protected VlcService,VLC_WINRT.Utility.Services.RunTime _vlcPlayerService
Résultat VLC_WINRT.Utility.Services.RunTime.VlcService