Skip to main content

CCMusicPlayer

CCMusicPlayer

CocosDenshion

Inheritance: System.Object

Constructors

CCMusicPlayer()

CCMusicPlayer()()

Fields

s_mciError(System.UInt64)

Properties

SoundID(System.Int32)
Volume(System.Single)

Methods

Close()

Close()()

~CCMusicPlayer()

~CCMusicPlayer()()

IsPlaying()

System.Boolean IsPlaying()()
Returns:
System.Boolean

IsPlayingMySong()

System.Boolean IsPlayingMySong()()
Returns:
System.Boolean

Open(string, int)

Open(string, int)(System.String pFileName, System.Int32 uId)
Parameters:
pFileName (System.String)
uId (System.Int32)

Pause()

Pause()()

Play()

Play()()

Play(bool)

Play(bool)(System.Boolean bLoop)
Parameters:
bLoop (System.Boolean)

RestoreMediaState()

RestoreMediaState()()

Resume()

Resume()()

Rewind()

Rewind()()

SaveMediaState()

SaveMediaState()()

Stop()

Stop()()