cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
<CDAudioInterruptProtocol> Protocol Reference

#import <CocosDenshion.h>

Inheritance diagram for <CDAudioInterruptProtocol>:
CDAudioInterruptTargetGroup CDAudioInterruptTargetGroup CDAudioManager CDAudioManager CDLongAudioSource CDLongAudioSource CDSoundEngine CDSoundEngine CDSoundSource CDSoundSource SimpleAudioEngine SimpleAudioEngine

Instance Methods

(BOOL) - mute
 Is audio mute. More...
 
(void) - setMute:
 If YES then audio is silenced but not stopped, calls to start new audio will proceed but silently. More...
 
(BOOL) - enabled
 Is audio enabled. More...
 
(void) - setEnabled:
 If NO then all audio is stopped and any calls to start new audio will be ignored. More...
 
(BOOL) - mute
 Is audio mute. More...
 
(void) - setMute:
 If YES then audio is silenced but not stopped, calls to start new audio will proceed but silently. More...
 
(BOOL) - enabled
 Is audio enabled. More...
 
(void) - setEnabled:
 If NO then all audio is stopped and any calls to start new audio will be ignored. More...
 

Method Documentation

- (BOOL) enabled

Is audio enabled.

- (BOOL) enabled

Is audio enabled.

- (BOOL) mute

Is audio mute.

- (BOOL) mute

Is audio mute.

- (void) setEnabled: (BOOL)  enabledValue

If NO then all audio is stopped and any calls to start new audio will be ignored.

- (void) setEnabled: (BOOL)  enabledValue

If NO then all audio is stopped and any calls to start new audio will be ignored.

- (void) setMute: (BOOL)  muteValue

If YES then audio is silenced but not stopped, calls to start new audio will proceed but silently.

- (void) setMute: (BOOL)  muteValue

If YES then audio is silenced but not stopped, calls to start new audio will proceed but silently.


The documentation for this protocol was generated from the following file: