C# 클래스 Espera.Core.Audio.YoutubeAudioPlayer

An AudioPlayer that streams songs from YouTube.
상속: AudioPlayer, IVideoPlayerCallback
파일 보기 프로젝트 열기: gazwinter/Espera

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Pause ( ) : void

Pauses the playback of the AudioPlayer.LoadedSong.

Play ( ) : void

Starts or continues the playback of the AudioPlayer.LoadedSong.

Stop ( ) : void

Stops the playback of the AudioPlayer.LoadedSong.

YoutubeAudioPlayer ( ) : System

Initializes a new instance of the YoutubeAudioPlayer class.

보호된 메소드들

메소드 설명
OnSongFinished ( EventArgs e ) : void

Raises the AudioPlayer.SongFinished event.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

OnSongFinished() 보호된 메소드

Raises the AudioPlayer.SongFinished event.
protected OnSongFinished ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
리턴 void

Pause() 공개 메소드

Pauses the playback of the AudioPlayer.LoadedSong.
public Pause ( ) : void
리턴 void

Play() 공개 메소드

Starts or continues the playback of the AudioPlayer.LoadedSong.
The playback couldn't be started.
public Play ( ) : void
리턴 void

Stop() 공개 메소드

Stops the playback of the AudioPlayer.LoadedSong.
public Stop ( ) : void
리턴 void

YoutubeAudioPlayer() 공개 메소드

Initializes a new instance of the YoutubeAudioPlayer class.
public YoutubeAudioPlayer ( ) : System
리턴 System