Music Methods

SFML.Net

Music Methods

The Music type exposes the following members.

Methods
  Name Description
Protected method Destroy
Handle the destruction of the object
(Overrides ObjectBaseDestroy(Boolean).)
Public method Dispose
Explicitely dispose the object
(Inherited from ObjectBase.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Dispose the object
(Inherited from ObjectBase.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Pause
Pause the audio stream. This function pauses the stream if it was playing, otherwise (stream already paused or stopped) it has no effect.
Public method Play
Start or resume playing the audio stream. This function starts the stream if it was stopped, resumes it if it was paused, and restarts it from beginning if it was it already playing. This function uses its own thread so that it doesn't block the rest of the program while the stream is played.
Public method Stop
Stop playing the audio stream. This function stops the stream if it was playing or paused, and does nothing if it was already stopped. It also resets the playing position (unlike Pause()).
Public method ToString
Provide a string describing the object
(Overrides ObjectToString.)
Top
See Also