add CCAudioSource isPlaying api

This commit is contained in:
knoxHuang
2016-06-08 10:35:11 +08:00
parent 144b6f398e
commit 39ca441ca3
+6 -2
View File
@@ -57,8 +57,12 @@ var AudioSource = cc.Class({
_loop: false,
/**
* !#en Is the audio source playing (Read Only).
* !#zh 该音频剪辑是否正播放(只读)。
* !#en
* Is the audio source playing (Read Only). <br/>
* Note: isPlaying is not supported for Native platforms.
* !#zh
* 该音频剪辑是否正播放(只读)。<br/>
* 注意:Native 平台暂时不支持 isPlaying。
* @property isPlaying
* @type {Boolean}
* @readOnly