cocos2d-x  3.2
 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...
 
var - mute
 Is audio mute. More...
 
local - 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...
 
var - mute
 Is audio mute. More...
 
local - 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.

var enabled

Is audio enabled.

local enabled

Is audio enabled.

- (BOOL) enabled

Is audio enabled.

var enabled

Is audio enabled.

local enabled

Is audio enabled.

- (BOOL) mute

Is audio mute.

var mute

Is audio mute.

local mute

Is audio mute.

- (BOOL) mute

Is audio mute.

var mute

Is audio mute.

local 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: var  enabledValue

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

- (void) setEnabled: local  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) setEnabled: var  enabledValue

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

- (void) setEnabled: local  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: var  muteValue

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

- (void) setMute: local  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.

- (void) setMute: var  muteValue

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

- (void) setMute: local  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: