8 #import <Foundation/Foundation.h> 10 #ifndef OOPlayerState_h 11 #define OOPlayerState_h 16 typedef NS_ENUM(NSInteger, OOOoyalaPlayerVideoGravity) {
18 OOOoyalaPlayerVideoGravityResize,
20 OOOoyalaPlayerVideoGravityResizeAspect,
22 OOOoyalaPlayerVideoGravityResizeAspectFill
28 typedef NS_ENUM(NSUInteger, OOOoyalaPlayerState) {
30 OOOoyalaPlayerStateInit,
32 OOOoyalaPlayerStateLoading,
34 OOOoyalaPlayerStateReady,
36 OOOoyalaPlayerStatePlaying,
38 OOOoyalaPlayerStatePaused,
40 OOOoyalaPlayerStateCompleted,
42 OOOoyalaPlayerStateError
45 typedef NS_ENUM(NSInteger, OOOoyalaPlayerDesiredState) {
47 OOOoyalaPlayerDesiredStatePlaying,
49 OOOoyalaPlayerDesiredStatePaused,
58 + (NSString *)playerStateToString:(OOOoyalaPlayerState)state;
65 + (NSString *)playerDesiredStateToString:(OOOoyalaPlayerDesiredState)desiredState;
Definition: OOPlayerState.h:52