Enumerations

The following enumerations are available globally.

  • List of supported error types.

    See more

    Declaration

    Objective-C

    enum OMIDErrorType : NSUInteger {}

    Swift

    enum OMIDErrorType : UInt, @unchecked Sendable
  • Identifies which integration layer is responsible for sending certain events.

    See more

    Declaration

    Objective-C

    enum OMIDOwner : NSUInteger {}

    Swift

    enum OMIDOwner : UInt, @unchecked Sendable
  • List of supported creative types.

    See more

    Declaration

    Objective-C

    enum OMIDCreativeType : NSUInteger {}

    Swift

    enum OMIDCreativeType : UInt, @unchecked Sendable
  • The criterion for an ad session’s OMID impression event. Declaring an impression type makes it easier to understand discrepancies between measurers of the ad session, since many metrics depend on impressions.

    See more

    Declaration

    Objective-C

    enum OMIDImpressionType : NSUInteger {}

    Swift

    enum OMIDImpressionType : UInt, @unchecked Sendable
  • List of allowed friendly obstruction purposes.

    See more

    Declaration

    Objective-C

    enum OMIDFriendlyObstructionType : NSUInteger {}
  • List of supported media event player states.

    See more

    Declaration

    Objective-C

    enum OMIDPlayerState : NSUInteger {}

    Swift

    enum OMIDPlayerState : UInt, @unchecked Sendable
  • List of supported media event user interaction types.

    See more

    Declaration

    Objective-C

    enum OMIDInteractionType : NSUInteger {}

    Swift

    enum OMIDInteractionType : UInt, @unchecked Sendable
  • List of supported media player positions.

    See more

    Declaration

    Objective-C

    enum OMIDPosition : NSUInteger {}

    Swift

    enum OMIDPosition : UInt, @unchecked Sendable