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

This class implements the basic audio player behavior. The actual playback implementation is defined in the IMediaPlayerCallback implementations.
상속: IEnableLogger
파일 보기 프로젝트 열기: gazwinter/Espera 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

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

Load ( Song song ) : void

Loads the specified song into the Espera.Core.Audio.LocalAudioPlayer. This is required before playing a new song.

Pause ( ) : void

Pauses the playback of the LoadedSong.

Play ( ) : void

Starts or continues the playback of the LoadedSong.

Stop ( ) : void

Stops the playback of the LoadedSong.

보호된 메소드들

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

Raises the SongFinished event.

메소드 상세

Dispose() 공개 추상적인 메소드

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

Load() 공개 메소드

Loads the specified song into the Espera.Core.Audio.LocalAudioPlayer. This is required before playing a new song.
song is null.
public Load ( Song song ) : void
song Song The song to load into the player.
리턴 void

OnSongFinished() 보호된 메소드

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

Pause() 공개 추상적인 메소드

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

Play() 공개 추상적인 메소드

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

Stop() 공개 추상적인 메소드

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