Enumerations

The following enumerations are available globally.

  • Defines different types of friendly obstructions.

    See more

    Declaration

    Objective-C

    enum INOmidFriendlyObstructionPurpose : NSUInteger {}

    Swift

    enum INOmidFriendlyObstructionPurpose : UInt, @unchecked Sendable
  • Potential content form values used to determine the ad insertion policy, set in OOContentMetadata.contentForm.

    See more

    Declaration

    Objective-C

    enum OOContentForm : NSUInteger {}

    Swift

    enum OOContentForm : UInt, @unchecked Sendable
  • Indicates which subsystem is the source of an OOLogItem. Retrieve this information from the OOLogItem.source property.

    See more

    Declaration

    Objective-C

    enum OOLogItemSource : NSUInteger {}

    Swift

    enum OOLogItemSource : UInt, @unchecked Sendable
  • Indicates which event an OOLogItem instance relates to. Retrieve this information from the OOLogItem.event property.

    See more

    Declaration

    Objective-C

    enum OOLogItemEvent : NSUInteger {}

    Swift

    enum OOLogItemEvent : UInt, @unchecked Sendable
  • Indicates the delivery method of a given media file. Retrieve this information with -[OOMediaFile deliveryMethod].

    See more

    Declaration

    Objective-C

    enum OODeliveryMethod : NSUInteger {}

    Swift

    enum OODeliveryMethod : UInt, @unchecked Sendable
  • List of supported video event player states.

    See more

    Declaration

    Objective-C

    enum OOPlayerState : NSInteger {}

    Swift

    enum OOPlayerState : Int, @unchecked Sendable
  • Defines the variant of an ad, or, whether or not it is a sponsor ad. You can retrieve this information through the -[OOPulseVideoAd variant] property.

    See more

    Declaration

    Objective-C

    enum OOPulseAdVariant : NSUInteger {}
  • Potential errors encountered trying to play an ad. When an error occurs, pass in the appropriate message in -[OOPulseVideoAd adFailedWithError:] or -[OOPulsePauseAd adFailedWithError:], depending on the type of ad the error occurred on.

    See more

    Declaration

    Objective-C

    enum OOPulseAdError : NSInteger {}

    Swift

    enum OOPulseAdError : Int, @unchecked Sendable
  • Options for types you can set in the OORequestSettings.insertionPointFilter property. These determine when the received ads are to be played.

    See more

    Declaration

    Objective-C

    enum OOInsertionPointType : NSUInteger {}

    Swift

    struct OOInsertionPointType : OptionSet, @unchecked Sendable
  • Ad break positions which can be read from OOPulseAdBreak.

    See more

    Declaration

    Objective-C

    enum OOAdBreakType : NSUInteger {}

    Swift

    enum OOAdBreakType : UInt, @unchecked Sendable
  • Modes you can set in the OORequestSettings.seekMode property which determine how the session behaves when a viewer seeks past one or more midroll ad breaks.

    See more

    Declaration

    Objective-C

    enum OOSeekMode : NSUInteger {}

    Swift

    enum OOSeekMode : UInt, @unchecked Sendable
  • Live options you can set in the OORequestSettings.liveParameters property, used to disable certain tracking, secondary lookup requests, real-time bidding requests, and/or cookie syncing for a live event.

    See more

    Declaration

    Objective-C

    enum OOLive : NSUInteger {}

    Swift

    enum OOLive : UInt, @unchecked Sendable
  • User Agent format for third party ad and tracking requests, you can set in the OORequestSettings.userAgentForThirdPartyRequests property, When not set, Pulse SDK will send the user-agent as per the DEFAULT format.

    See more

    Declaration

    Objective-C

    enum OOUserAgentFormat : NSUInteger {}

    Swift

    enum OOUserAgentFormat : UInt, @unchecked Sendable
  • The video container format that you want to receive in ad responses from Pulse. Note: Which video formats are available in Pulse depends on your account settings and configuration. If the selected format is not available, the default format(s) will be used.

    See more

    Declaration

    Objective-C

    enum INVideoAssetContainerFormat : NSUInteger {}

    Swift

    enum INVideoAssetContainerFormat : UInt, @unchecked Sendable