OALSuspendManager Protocol Reference

Conforms to OALSuspendListener
Declared in OALSuspendHandler.h

Overview

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

  suspended required method

If YES, this object is suspended.

@property (nonatomic, readonly, assign) bool suspended

Declared In

OALSuspendHandler.h

– addSuspendListener: required method

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

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

Parameters

listener

The listener to register with this handler.

Declared In

OALSuspendHandler.h

– removeSuspendListener: required method

Remove a registered listener.

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

Parameters

listener

The listener to unregister from this handler.

Declared In

OALSuspendHandler.h