Represents one sound.
| C# | Visual Basic | Visual C++ |
public interface ISong
Public Interface ISong
public interface class ISong
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| Duration |
Gets or sets the duration.
-1 indicates that the song will play and repeat until explicitly Stop()()().
0 indicates that the song will play in it entirety one time.
> 0 defines a time in milliseconds to play and repeat the song.
| |
| IsPaused |
Gets a value indicating whether this song is paused.
| |
| IsPlaying |
Gets a value indicating whether this song is playing.
| |
| Pause()()() |
Pauses the song.
| |
| Play()()() |
Loads the specified song according the configuration string.
| |
| Priority |
Gets or sets the priority. The higher integer, the higher the priority.
| |
| Resume()()() |
Resumes the song.
| |
| SongFile |
Gets or sets the song file.
| |
| Stop()()() |
Unloads the song.
| |
| StopCallback |
Gets or sets the stop callback.
| |
| ToString()()() |
Creates a text representation of the song.
|