cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
Instance Methods - 图1 Instance Methods - 图2)
- 类列表 - 类索引 - 类继承关系 - 类成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

Instance Methods | Protected 属性 | 所有成员列表

CDAudioInterruptTargetGroup类 参考

Container for objects that implement audio interrupt protocol i.e. 更多…

#import

类 CDAudioInterruptTargetGroup 继承关系图:

Instance Methods - 图3 <CDAudioInterruptProtocol> <CDAudioInterruptProtocol>

## Instance Methods
(void) - addAudioInterruptTarget:
(void) - addAudioInterruptTarget:
- Instance Methods 继承自 <CDAudioInterruptProtocol>
(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

类成员变量说明

- (NSMutableArray *) children_

protected

- (BOOL) enabled_

protected

- (BOOL) mute_

protected


该类的文档由以下文件生成:

  • /Users/zeroyang/Documents/github/cocos2d-x/cocos/audio/ios/CocosDenshion.h