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

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public FastForward ( ) : void
Résultat void

GetPosition() public méthode

public GetPosition ( ) : float
Résultat float

MediaService() public méthode

public MediaService ( HistoryService historyService, VlcService vlcService ) : System
historyService HistoryService
vlcService VlcService
Résultat System

Pause() public méthode

public Pause ( ) : void
Résultat void

Play() public méthode

public Play ( ) : void
Résultat void

PlayAudioFile() public méthode

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

PlayVideoFile() public méthode

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

Rewind() public méthode

public Rewind ( ) : void
Résultat void

SetMediaElement() public méthode

public SetMediaElement ( MediaElement mediaElement ) : void
mediaElement Windows.UI.Xaml.Controls.MediaElement
Résultat void

SetMediaFile() public méthode

public SetMediaFile ( string filePath, bool isAudioMedia = true ) : void
filePath string
isAudioMedia bool
Résultat void

SetPosition() public méthode

public SetPosition ( float position ) : void
position float
Résultat void

SkipAhead() public méthode

public SkipAhead ( ) : void
Résultat void

SkipBack() public méthode

public SkipBack ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void