Classes

The following classes are available globally.

  • Ad event API enabling the integration partner to signal to all verification providers when key events have occurred. Only one ad events implementation can be associated with the ad session and any attempt to create multiple instances will result in an error.

    See more

    Declaration

    Objective-C

    @interface OMIDAdEvents : NSObject

    Swift

    class OMIDAdEvents : NSObject
  • Ad session API enabling the integration partner to notify OMID of key state relating to viewability calculations. In addition to viewability this API will also notify all verification providers of key ad session lifecycle events.

    See more

    Declaration

    Objective-C

    @interface OMIDAdSession : NSObject

    Swift

    class OMIDAdSession : NSObject
  • The ad session configuration supplies the owner for both the impression and video events. The OM SDK JS service will use this information to help identify where the source of these events is expected to be received.

    See more

    Declaration

    Objective-C

    @interface OMIDAdSessionConfiguration : NSObject

    Swift

    class OMIDAdSessionConfiguration : NSObject
  • Provides the ad session with details of the partner and whether to an HTML, JavaScript, or native session.

    See more

    Declaration

    Objective-C

    @interface OMIDAdSessionContext : NSObject

    Swift

    class OMIDAdSessionContext : NSObject
  • This provides a complete list of native media events supported by OMID. Using this event API assumes the media player is fully responsible for communicating all media events at the appropriate times. Only one media events implementation can be associated with the ad session and any attempt to create multiple instances will result in an error.

    See more

    Declaration

    Objective-C

    @interface OMIDMediaEvents : NSObject

    Swift

    class OMIDMediaEvents : NSObject
  • Details about the integration partner which will be supplied to the ad session.

    See more

    Declaration

    Objective-C

    @interface OMIDPartner : NSObject

    Swift

    class OMIDPartner : NSObject
  • This application level class will be called by all integration partners to ensure OM SDK has been activated before calling any other API methods. Any attempt to use other API methods prior to activation will result in an error.

    Note that OM SDK may only be used on the main UI thread. Make sure you are on the main thread when you initialize the SDK, create its objects, and invoke its methods.

    See more

    Declaration

    Objective-C

    @interface OMIDSDK : NSObject

    Swift

    class OMIDSDK : NSObject
  • Utility class which enables integration partners to use a standard approach for injecting OM SDK JS into the served tag HTML content.

    See more

    Declaration

    Objective-C

    @interface OMIDScriptInjector : NSObject

    Swift

    class OMIDScriptInjector : NSObject
  • This object is used to capture key VAST properties so this can be shared with all registered verification providers.

    See more

    Declaration

    Objective-C

    @interface OMIDVASTProperties : NSObject

    Swift

    class OMIDVASTProperties : NSObject
  • Details about the verification provider which will be supplied to the ad session.

    See more

    Declaration

    Objective-C

    @interface OMIDVerificationScriptResource : NSObject

    Swift

    class OMIDVerificationScriptResource : NSObject