mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
add CCAudioSource isPlaying api
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user