Enumerations
The following enumerations are available globally.
-
Properties
See moreDeclaration
Objective-C
NS_ENUM(NSUInteger, OMIDErrorType) { OMIDErrorGeneric = 1, // will translate into "GENERIC" when published to the OMID JS service. OMIDErrorVideo = 2 // will translate into "VIDEO" when published to the OMID JS service. }
Swift
enum OMIDErrorType : UInt
-
Properties
See moreDeclaration
Objective-C
NS_ENUM(NSUInteger, OMIDOwner) { OMIDJavaScriptOwner = 1, // will translate into "JAVASCRIPT" when published to the OMID JS service. OMIDNativeOwner = 2, // will translate into "NATIVE" when published to the OMID JS service. OMIDNoneOwner = 3 // will translate into "NONE" when published to the OMID JS service. }
Swift
enum OMIDOwner : UInt
-
Properties
See moreDeclaration
Objective-C
NS_ENUM(NSUInteger, OMIDPosition) { OMIDPositionPreroll, OMIDPositionMidroll, OMIDPositionPostroll, OMIDPositionStandalone }
Swift
enum OMIDPosition : UInt
-
Properties
See moreDeclaration
Objective-C
NS_ENUM(NSUInteger, OMIDPlayerState) { OMIDPlayerStateMinimized, OMIDPlayerStateCollapsed, OMIDPlayerStateNormal, OMIDPlayerStateExpanded, OMIDPlayerStateFullscreen }
Swift
enum OMIDPlayerState : UInt
-
Properties
See moreDeclaration
Objective-C
NS_ENUM(NSUInteger, OMIDInteractionType) { OMIDInteractionTypeClick, OMIDInteractionTypeAcceptInvitation }
Swift
enum OMIDInteractionType : UInt