Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
Version: 1.1
Version: 1.0
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
audio
External module audio
Index
Classes
Audio
Clip
Audio
Player
Audio
PlayerDOM
Audio
Player
Web
Audio
Source
Component
Interfaces
IAudio
Info
Variables
Audio
Type
audio
Support
Object literals
Playing
State
Variables
Const
Audio
Type
Audio
Type
:
object
= Enum({WEB_AUDIO: 0,DOM_AUDIO: 1,JSB_AUDIO: 2,UNKNOWN_AUDIO: 3,})
Type declaration
DOM_
AUDIO
:
number
JSB_
AUDIO
:
number
UNKNOWN_
AUDIO
:
number
WEB_
AUDIO
:
number
Const
audio
Support
audio
Support
:
any
= sys.__audioSupport
Object literals
Const
Playing
State
Playing
State
:
object
INITIALIZING
INITIALIZING
:
number
= 0
PLAYING
PLAYING
:
number
= 1
STOPPED
STOPPED
:
number
= 2
Globals
component/audio
Audio
Clip
Audio
Player
Audio
PlayerDOM
Audio
Player
Web
Audio
Source
Component
IAudio
Info
Audio
Type
audio
Support
Playing
State
Generated using
TypeDoc