C# Class GnomeSubtitles.Ui.VideoPreview.Player

Show file Open project: GNOME/gnome-subtitles Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
Forward ( System.TimeSpan inc ) : void
Open ( Uri videoUri ) : void
Pause ( ) : void
Play ( ) : void
Player ( Gtk.AspectFrame aspectFrame ) : GnomeSubtitles.Ui.VideoPreview.Exceptions
Rewind ( System.TimeSpan dec ) : void
Seek ( System.TimeSpan newPosition ) : void
Seek ( double newPosition ) : void
SpeedDown ( ) : void
SpeedReset ( ) : void
SpeedUp ( ) : void

Private Methods

Method Description
ChangeSpeed ( float newSpeed ) : void
GetPosition ( ) : System.TimeSpan

Gets the current player position.

InitializePlaybin ( ) : void
InitializePositionWatcher ( ) : void
InitializeSocket ( ) : void
OnPlaybinEndOfStream ( ) : void
OnPlaybinError ( ErrorEventArgs args ) : void
OnPlaybinFoundTag ( TagEventArgs args ) : void
OnPlaybinFoundVideoInfo ( VideoInfoEventArgs args ) : void
OnPlaybinStateChanged ( StateEventArgs args ) : void
OnPositionWatcherChanged ( System.TimeSpan time ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Forward() public method

public Forward ( System.TimeSpan inc ) : void
inc System.TimeSpan
return void

Open() public method

public Open ( Uri videoUri ) : void
videoUri System.Uri
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

Player() public method

public Player ( Gtk.AspectFrame aspectFrame ) : GnomeSubtitles.Ui.VideoPreview.Exceptions
aspectFrame Gtk.AspectFrame
return GnomeSubtitles.Ui.VideoPreview.Exceptions

Rewind() public method

public Rewind ( System.TimeSpan dec ) : void
dec System.TimeSpan
return void

Seek() public method

public Seek ( System.TimeSpan newPosition ) : void
newPosition System.TimeSpan
return void

Seek() public method

public Seek ( double newPosition ) : void
newPosition double
return void

SpeedDown() public method

public SpeedDown ( ) : void
return void

SpeedReset() public method

public SpeedReset ( ) : void
return void

SpeedUp() public method

public SpeedUp ( ) : void
return void