C# Class Motion.Sound.MP3Player

Inheritance: IAlarmPlayer
Afficher le fichier Open project: zhuangyy/Motion

Méthodes publiques

Méthode Description
AlarmEnd ( ) : void
AlarmStart ( ) : void
Check ( ) : bool
Close ( ) : void
MP3Player ( ) : System
Open ( ) : void
Pause ( ) : void
Play ( ) : void
Seek ( ulong Millisecs ) : void
Stop ( ) : void

Méthodes protégées

Méthode Description
OnCloseFile ( CloseFileEventArgs cea ) : void
OnError ( ErrorEventArgs eea ) : void
OnOpenFile ( OpenFileEventArgs oea ) : void
OnPauseFile ( PauseFileEventArgs paea ) : void
OnPlayFile ( PlayFileEventArgs pea ) : void
OnStopFile ( StopFileEventArgs sea ) : void

Private Methods

Méthode Description
CalculateLength ( ) : void
mciSendString ( string strCommand, StringBuilder strReturn, int iReturnLength, IntPtr hwndCallback ) : long

Method Details

AlarmEnd() public méthode

public AlarmEnd ( ) : void
Résultat void

AlarmStart() public méthode

public AlarmStart ( ) : void
Résultat void

Check() public méthode

public Check ( ) : bool
Résultat bool

Close() public méthode

public Close ( ) : void
Résultat void

MP3Player() public méthode

public MP3Player ( ) : System
Résultat System

OnCloseFile() protected méthode

protected OnCloseFile ( CloseFileEventArgs cea ) : void
cea CloseFileEventArgs
Résultat void

OnError() protected méthode

protected OnError ( ErrorEventArgs eea ) : void
eea ErrorEventArgs
Résultat void

OnOpenFile() protected méthode

protected OnOpenFile ( OpenFileEventArgs oea ) : void
oea OpenFileEventArgs
Résultat void

OnPauseFile() protected méthode

protected OnPauseFile ( PauseFileEventArgs paea ) : void
paea PauseFileEventArgs
Résultat void

OnPlayFile() protected méthode

protected OnPlayFile ( PlayFileEventArgs pea ) : void
pea PlayFileEventArgs
Résultat void

OnStopFile() protected méthode

protected OnStopFile ( StopFileEventArgs sea ) : void
sea StopFileEventArgs
Résultat void

Open() public méthode

public Open ( ) : void
Résultat void

Pause() public méthode

public Pause ( ) : void
Résultat void

Play() public méthode

public Play ( ) : void
Résultat void

Seek() public méthode

public Seek ( ulong Millisecs ) : void
Millisecs ulong
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void