OALSuspendListener Protocol Reference
Declared in | OALSuspendHandler.h |
---|
Overview
Allows an object to participate in interrupt and suspend operations. Objects may hook into OALAudioSession’s interrupt and suspend model by calling [[OALAudioSession sharedInstance] addSuspendListener:self].
Note: You must NOT set the “interrupted” property manually. It is designed to be set automatically by system interrupts.
manuallySuspended
required method
Set to YES to manually suspend.
@property (nonatomic, readwrite, assign) bool manuallySuspended
Declared In
OALSuspendHandler.h
interrupted
required method
If YES, this object is interrupted. Note: This property must NOT be set by the user!
@property (nonatomic, readwrite, assign) bool interrupted
Declared In
OALSuspendHandler.h