C# Class VLC_WINRT.Utility.Services.RunTime.MediaService

Inheritance: IMediaService
Mostrar archivo Open project: kusl/vlcwinrt

Public Methods

Method Description
FastForward ( ) : void
GetPosition ( ) : float
MediaService ( HistoryService historyService, VlcService vlcService ) : System
Pause ( ) : void
Play ( ) : void
PlayAudioFile ( StorageFile file ) : System.Threading.Tasks.Task
PlayVideoFile ( StorageFile file ) : System.Threading.Tasks.Task
Rewind ( ) : void
SetMediaElement ( MediaElement mediaElement ) : void
SetMediaFile ( string filePath, bool isAudioMedia = true ) : void
SetPosition ( float position ) : void
SkipAhead ( ) : void
SkipBack ( ) : void
Stop ( ) : void

Private Methods

Method Description
ApplicationState_Activated ( object sender, WindowActivatedEventArgs e ) : void
MediaControl_PausePressed ( object sender, object e ) : void
MediaControl_PlayPauseTogglePressed ( object sender, object e ) : void
MediaControl_PlayPressed ( object sender, object e ) : void
RegisterMediaControls ( ) : void
UnregisterMediaControls ( ) : void
VlcPlayerService_MediaEnded ( object sender, Player e ) : void
VlcPlayerService_StatusChanged ( object sender, VlcService state ) : void

Method Details

FastForward() public method

public FastForward ( ) : void
return void

GetPosition() public method

public GetPosition ( ) : float
return float

MediaService() public method

public MediaService ( HistoryService historyService, VlcService vlcService ) : System
historyService HistoryService
vlcService VlcService
return System

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

PlayAudioFile() public method

public PlayAudioFile ( StorageFile file ) : System.Threading.Tasks.Task
file Windows.Storage.StorageFile
return System.Threading.Tasks.Task

PlayVideoFile() public method

public PlayVideoFile ( StorageFile file ) : System.Threading.Tasks.Task
file Windows.Storage.StorageFile
return System.Threading.Tasks.Task

Rewind() public method

public Rewind ( ) : void
return void

SetMediaElement() public method

public SetMediaElement ( MediaElement mediaElement ) : void
mediaElement Windows.UI.Xaml.Controls.MediaElement
return void

SetMediaFile() public method

public SetMediaFile ( string filePath, bool isAudioMedia = true ) : void
filePath string
isAudioMedia bool
return void

SetPosition() public method

public SetPosition ( float position ) : void
position float
return void

SkipAhead() public method

public SkipAhead ( ) : void
return void

SkipBack() public method

public SkipBack ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void