C# Class Plugin.MediaManager.Abstractions.Implementations.MediaManagerBase

Implementation for MediaManager
Inheritance: IMediaManager, IDisposable
Afficher le fichier Open project: martijn00/XamarinMediaManager

Private Properties

Свойство Type Description
AddEventHandlers void
GetMediaInformation System.Threading.Tasks.Task
OnBufferingChanged void
OnMediaFailed void
OnMediaFileChanged void
OnMediaFileFailed void
OnMediaFinished void
OnPlayingChanged void
OnStatusChanged void
RemoveEventHandlers void
SetCurrentPlayer void

Méthodes publiques

Méthode Description
Dispose ( ) : void
Pause ( ) : System.Threading.Tasks.Task
Play ( IEnumerable mediaFiles ) : System.Threading.Tasks.Task

Adds all MediaFiles to the Queue and starts playing the first item

Play ( IMediaFile mediaFile ) : System.Threading.Tasks.Task

Adds MediaFile to the Queue and starts playing

Play ( string url, MediaFileType fileType ) : System.Threading.Tasks.Task
PlayByPosition ( int index ) : System.Threading.Tasks.Task
PlayNext ( ) : System.Threading.Tasks.Task
PlayPause ( ) : System.Threading.Tasks.Task
PlayPrevious ( ) : System.Threading.Tasks.Task
Seek ( System.TimeSpan position ) : System.Threading.Tasks.Task
SetOnBeforePlay ( Task>.Func beforePlay ) : void
Stop ( ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
AddEventHandlers ( ) : void
GetMediaInformation ( IEnumerable mediaFiles ) : System.Threading.Tasks.Task
OnBufferingChanged ( object sender, BufferingChangedEventArgs e ) : void
OnMediaFailed ( object sender, MediaFailedEventArgs e ) : void
OnMediaFileChanged ( object sender, MediaFileChangedEventArgs e ) : void
OnMediaFileFailed ( object sender, MediaFileFailedEventArgs e ) : void
OnMediaFinished ( object sender, MediaFinishedEventArgs e ) : void
OnPlayingChanged ( object sender, PlayingChangedEventArgs e ) : void
OnStatusChanged ( object sender, StatusChangedEventArgs e ) : void
RemoveEventHandlers ( ) : void
SetCurrentPlayer ( MediaFileType fileType ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Pause() public méthode

public Pause ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Play() public méthode

Adds all MediaFiles to the Queue and starts playing the first item
public Play ( IEnumerable mediaFiles ) : System.Threading.Tasks.Task
mediaFiles IEnumerable
Résultat System.Threading.Tasks.Task

Play() public méthode

Adds MediaFile to the Queue and starts playing
public Play ( IMediaFile mediaFile ) : System.Threading.Tasks.Task
mediaFile IMediaFile
Résultat System.Threading.Tasks.Task

Play() public méthode

public Play ( string url, MediaFileType fileType ) : System.Threading.Tasks.Task
url string
fileType MediaFileType
Résultat System.Threading.Tasks.Task

PlayByPosition() public méthode

public PlayByPosition ( int index ) : System.Threading.Tasks.Task
index int
Résultat System.Threading.Tasks.Task

PlayNext() public méthode

public PlayNext ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

PlayPause() public méthode

public PlayPause ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

PlayPrevious() public méthode

public PlayPrevious ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Seek() public méthode

public Seek ( System.TimeSpan position ) : System.Threading.Tasks.Task
position System.TimeSpan
Résultat System.Threading.Tasks.Task

SetOnBeforePlay() public méthode

public SetOnBeforePlay ( Task>.Func beforePlay ) : void
beforePlay Task>.Func
Résultat void

Stop() public méthode

public Stop ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task