OOLifeCycle.h
1 #import <Foundation/Foundation.h>
2 #import "OOPlayerState.h"
3 
4 #ifndef OOLifeCycle_h
5 #define OOLifeCycle_h
6 
10 @protocol OOLifeCycle
11 
15 - (void)reset;
16 
20 - (void)suspend;
21 
25 - (void)resume;
26 
35 - (void)resume:(Float64)time stateToResume:(OOOoyalaPlayerState)state;
36 
40 - (void)destroy;
41 
42 @end
43 
44 #endif /* OOLifeCycle_h */
void resume()
This is called when plugin should be resumed.
void reset()
This is called when plugin should be reset.
void suspend()
This is called when plugin should be suspended.
Handle events around the lifecycle of the OOOoyalaPlayer.
Definition: OOLifeCycle.h:10
void destroy()
This is called when plugin should be destryed.