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

Datei anzeigen Open project: kusl/vlcwinrt Class Usage Examples

Public Properties

Property Type Description
CurrentState MediaPlayerState

Public Methods

Method Description
Close ( ) : void
GetAudioTrackCount ( ) : Task
GetAudioTrackDescription ( string>.IDictionary audioTracks ) : Task
GetLength ( ) : Task
GetPosition ( ) : Task
GetSubtitleCount ( ) : Task
GetSubtitleDescription ( string>.IDictionary subtitles ) : Task
Initialize ( SwapChainBackgroundPanel panel ) : System.Threading.Tasks.Task
Open ( string mrl ) : void
OpenSubtitle ( string mrl ) : void
Pause ( ) : void
Play ( ) : void
Seek ( float position ) : void
SetAudioTrack ( int track ) : System.Threading.Tasks.Task
SetRate ( float rate ) : System.Threading.Tasks.Task
SetSizeVideoPlayer ( uint x, uint y ) : System.Threading.Tasks.Task
SetSubtitleTrack ( int track ) : System.Threading.Tasks.Task
SkipAhead ( ) : void
SkipBack ( ) : void
Stop ( ) : void
VlcService ( HistoryService historyService ) : Autofac

Private Methods

Method Description
DoVLCSafeAction ( System.Action a ) : void
SeekToRelativeTime ( System.TimeSpan relativeTimeSpan ) : void
UpdateStatus ( MediaPlayerState status ) : void
_vlcPlayer_MediaEnded ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

GetAudioTrackCount() public method

public GetAudioTrackCount ( ) : Task
return Task

GetAudioTrackDescription() public method

public GetAudioTrackDescription ( string>.IDictionary audioTracks ) : Task
audioTracks string>.IDictionary
return Task

GetLength() public method

public GetLength ( ) : Task
return Task

GetPosition() public method

public GetPosition ( ) : Task
return Task

GetSubtitleCount() public method

public GetSubtitleCount ( ) : Task
return Task

GetSubtitleDescription() public method

public GetSubtitleDescription ( string>.IDictionary subtitles ) : Task
subtitles string>.IDictionary
return Task

Initialize() public method

public Initialize ( SwapChainBackgroundPanel panel ) : System.Threading.Tasks.Task
panel Windows.UI.Xaml.Controls.SwapChainBackgroundPanel
return System.Threading.Tasks.Task

Open() public method

public Open ( string mrl ) : void
mrl string
return void

OpenSubtitle() public method

public OpenSubtitle ( string mrl ) : void
mrl string
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

Seek() public method

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

SetAudioTrack() public method

public SetAudioTrack ( int track ) : System.Threading.Tasks.Task
track int
return System.Threading.Tasks.Task

SetRate() public method

public SetRate ( float rate ) : System.Threading.Tasks.Task
rate float
return System.Threading.Tasks.Task

SetSizeVideoPlayer() public method

public SetSizeVideoPlayer ( uint x, uint y ) : System.Threading.Tasks.Task
x uint
y uint
return System.Threading.Tasks.Task

SetSubtitleTrack() public method

public SetSubtitleTrack ( int track ) : System.Threading.Tasks.Task
track int
return System.Threading.Tasks.Task

SkipAhead() public method

public SkipAhead ( ) : void
return void

SkipBack() public method

public SkipBack ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

VlcService() public method

public VlcService ( HistoryService historyService ) : Autofac
historyService HistoryService
return Autofac

Property Details

CurrentState public_oe property

public MediaPlayerState CurrentState
return MediaPlayerState