ObjectAL
 All Classes Functions Variables Properties Pages
Instance Methods | Properties | List of all members
<OALSuspendManager> Protocol Referenceabstract

A suspend manager is a listener that also allows other objects to subscribe to receive events as the manager receives them. More...

#import <OALSuspendHandler.h>

Inheritance diagram for <OALSuspendManager>:
<OALSuspendListener> ALContext ALDevice ALListener ALSource OALAudioSession OALAudioTrack OALAudioTracks OpenALManager

Instance Methods

(void) - addSuspendListener:
 Add a listener that will receive manual suspend and interrupt events. More...
 
(void) - removeSuspendListener:
 Remove a registered listener. More...
 

Properties

bool suspended
 If YES, this object is suspended. More...
 
- Properties inherited from <OALSuspendListener>
bool manuallySuspended
 Set to YES to manually suspend. More...
 
bool interrupted
 If YES, this object is interrupted. More...
 

Detailed Description

A suspend manager is a listener that also allows other objects to subscribe to receive events as the manager receives them.

Method Documentation

- (void) addSuspendListener: (id< OALSuspendListener >)  listener

Add a listener that will receive manual suspend and interrupt events.

Parameters
listenerThe listener to register with this handler.
- (void) removeSuspendListener: (id< OALSuspendListener >)  listener

Remove a registered listener.

Parameters
listenerThe listener to unregister from this handler.

Property Documentation

- (bool) suspended
readnonatomicassign

If YES, this object is suspended.


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