cocos2d-x 3.0 |


- 类列表 - 类索引 - 类继承关系 - 类成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
Instance Methods | Protected 属性 | 所有成员列表
CDAudioInterruptTargetGroup类 参考
Container for objects that implement audio interrupt protocol i.e. 更多…
#import
类 CDAudioInterruptTargetGroup 继承关系图:
## Instance Methods | |
(void) | - addAudioInterruptTarget: |
(void) | - addAudioInterruptTarget: |
![]() | |
(BOOL) | - mute |
Is audio mute. 更多… | |
(void) | - setMute: |
If YES then audio is silenced but not stopped, calls to start new audio will proceed but silently. 更多… | |
(BOOL) | - enabled |
Is audio enabled. 更多… | |
(void) | - setEnabled: |
If NO then all audio is stopped and any calls to start new audio will be ignored. 更多… | |
(BOOL) | - mute |
Is audio mute. 更多… | |
(void) | - setMute: |
If YES then audio is silenced but not stopped, calls to start new audio will proceed but silently. 更多… | |
(BOOL) | - enabled |
Is audio enabled. 更多… | |
(void) | - setEnabled: |
If NO then all audio is stopped and any calls to start new audio will be ignored. 更多… | |
## Protected 属性 | |
BOOL | mute_ |
BOOL | enabled_ |
NSMutableArray * | children_ |
详细描述
Container for objects that implement audio interrupt protocol i.e.
they can be muted and enabled. Setting mute and enabled for the group propagates to all children. Designed to be used with your CDSoundSource objects to get them to comply with global enabled and mute settings if that is what you want to do.
Method Documentation
- (void) addAudioInterruptTarget: | (NSObject< CDAudioInterruptProtocol > *) | interruptibleTarget |
- (void) addAudioInterruptTarget: | (NSObject< CDAudioInterruptProtocol > *) | interruptibleTarget |
类成员变量说明
| protected |
| protected |
| protected |
该类的文档由以下文件生成:
- /Users/zeroyang/Documents/github/cocos2d-x/cocos/audio/ios/CocosDenshion.h
- CDAudioInterruptTargetGroup
- 生成于 2014年 五月 29日 星期四 09:41:42 , 为 cocos2d-x使用
1.8.6