C# Class VLC_WINRT.ViewModels.MediaPlaybackViewModel

Inheritance: NavigateableViewModel, IDisposable
Datei anzeigen Open project: kusl/vlcwinrt

Protected Properties

Property 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

Public Methods

Method Description
CleanViewModel ( ) : void
Dispose ( ) : void
OnNavigatedFrom ( NavigationEventArgs e ) : System.Threading.Tasks.Task

Protected Methods

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

Private Methods

Method 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 method

public CleanViewModel ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

MediaPlaybackViewModel() protected method

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
return System

OnNavigatedFrom() public method

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

OnPlaybackStarting() protected method

protected OnPlaybackStarting ( ) : void
return void

OnPlaybackStopped() protected method

protected OnPlaybackStopped ( ) : void
return void

PlayerStateChanged() protected method

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

Property Details

_displayAlwaysOnRequest protected_oe property

protected DisplayRequest,Windows.System.Display _displayAlwaysOnRequest
return Windows.System.Display.DisplayRequest

_elapsedTime protected_oe property

protected TimeSpan,System _elapsedTime
return System.TimeSpan

_fileToken protected_oe property

protected string _fileToken
return string

_goBackCommand protected_oe property

protected StopVideoCommand,VLC_WINRT.Utility.Commands _goBackCommand
return VLC_WINRT.Utility.Commands.StopVideoCommand

_historyService protected_oe property

protected HistoryService,VLC_WINRT.Utility.Services.RunTime _historyService
return VLC_WINRT.Utility.Services.RunTime.HistoryService

_isPlaying protected_oe property

protected bool _isPlaying
return bool

_mediaService protected_oe property

protected IMediaService _mediaService
return IMediaService

_mrl protected_oe property

protected string _mrl
return string

_playNext protected_oe property

protected PlayNextCommand,VLC_WINRT.Utility.Commands.MusicPlayer _playNext
return VLC_WINRT.Utility.Commands.MusicPlayer.PlayNextCommand

_playOrPause protected_oe property

protected PlayPauseCommand,VLC_WINRT.Utility.Commands _playOrPause
return VLC_WINRT.Utility.Commands.PlayPauseCommand

_playPrevious protected_oe property

protected PlayPreviousCommand,VLC_WINRT.Utility.Commands.MusicPlayer _playPrevious
return VLC_WINRT.Utility.Commands.MusicPlayer.PlayPreviousCommand

_skipAhead protected_oe property

protected ActionCommand,VLC_WINRT.Utility.Commands _skipAhead
return VLC_WINRT.Utility.Commands.ActionCommand

_skipBack protected_oe property

protected ActionCommand,VLC_WINRT.Utility.Commands _skipBack
return VLC_WINRT.Utility.Commands.ActionCommand

_sliderPositionTimer protected_oe property

protected DispatcherTimer,Windows.UI.Xaml _sliderPositionTimer
return Windows.UI.Xaml.DispatcherTimer

_timeTotal protected_oe property

protected TimeSpan,System _timeTotal
return System.TimeSpan

_title protected_oe property

protected string _title
return string

_vlcPlayerService protected_oe property

protected VlcService,VLC_WINRT.Utility.Services.RunTime _vlcPlayerService
return VLC_WINRT.Utility.Services.RunTime.VlcService