Classes

The following classes are available globally.

  • This class is a convenience adapter that implements the SVSContentPlayerPlayHead protocol for AVPlayer instances. Use it if your content player is an instance of AVPlayer.

    See more

    Declaration

    Objective-C

    @interface SVSAVPlayerPlayHeadAdapter : NSObject <SVSContentPlayerPlayHead>

    Swift

    class SVSAVPlayerPlayHeadAdapter : NSObject
  • The ad manager is the class responsible of loading ads and displaying them into the ad player.

    This class is instantiated with a placement, a set of ad rules, an ad player configuration and is started with a play head object (a protocol representing the state of the content player) and an ad container view which is the view that will be used as superview by the ad player view.

    See more

    Declaration

    Objective-C

    @interface SVSAdManager : NSObject

    Swift

    class SVSAdManager : NSObject
  • Class used to create instream video ad placement.

    See more

    Declaration

    Objective-C

    @interface SVSAdPlacement : NSObject <NSCoding, NSCopying>

    Swift

    class SVSAdPlacement : NSObject, NSCoding, NSCopying
  • Configuration of the ad player.

    See more

    Declaration

    Objective-C

    @interface SVSAdPlayerConfiguration : NSObject <NSCopying, NSCoding>

    Swift

    class SVSAdPlayerConfiguration : NSObject, NSCopying, NSCoding
  • Represents the ad player display configuration.

    See more

    Declaration

    Objective-C

    @interface SVSAdPlayerConfigurationDisplayOptions : NSObject <NSCopying>

    Swift

    class SVSAdPlayerConfigurationDisplayOptions : NSObject, NSCopying
  • Hold the configuration options related to the publisher.

    See more

    Declaration

    Objective-C

    @interface SVSAdPlayerConfigurationPublisherOptions : NSObject <NSCopying>

    Swift

    class SVSAdPlayerConfigurationPublisherOptions : NSObject, NSCopying
  • Hold the configuration for RTB requests.

    See more

    Declaration

    Objective-C

    @interface SVSAdPlayerConfigurationRTBOptions : NSObject <NSCopying>

    Swift

    class SVSAdPlayerConfigurationRTBOptions : NSObject, NSCopying
  • Hold the configuration options related to VPAID.

    See more

    Declaration

    Objective-C

    @interface SVSAdPlayerConfigurationVPAIDOptions : NSObject <NSCopying, NSCoding>

    Swift

    class SVSAdPlayerConfigurationVPAIDOptions : NSObject, NSCopying, NSCoding
  • Represents an ad rule for a particular media duration. All durations are expressed in seconds.

    See more

    Declaration

    Objective-C

    @interface SVSAdRule : NSObject <NSCopying, NSCoding>

    Swift

    class SVSAdRule : NSObject, NSCopying, NSCoding
  • Represents the details of an ad rule related to a given ad break type.

    See more

    Declaration

    Objective-C

    @interface SVSAdRuleData : NSObject <NSCopying, NSCoding>

    Swift

    class SVSAdRuleData : NSObject, NSCopying, NSCoding
  • Represents a set of ad rules.

    See more

    Declaration

    Objective-C

    @interface SVSAdRules : NSObject <NSCopying, NSCoding>

    Swift

    class SVSAdRules : NSObject, NSCopying, NSCoding
  • This class hold the global configuration of the SDK. All methods called here will impact the whole Video SDK.

    See more

    Declaration

    Objective-C

    @interface SVSConfiguration : NSObject

    Swift

    class SVSConfiguration : NSObject
  • Represents the details of the content video. Passed to the AdServer for targeting. This object should be passed to your instance of SVSAdManager during initialization.

    See more

    Declaration

    Objective-C

    @interface SVSContentData : NSObject <NSCopying, NSCoding>

    Swift

    class SVSContentData : NSObject, NSCopying, NSCoding
  • Point in the content video when a midroll ad break will occur.

    See more

    Declaration

    Objective-C

    @interface SVSCuePoint : NSObject

    Swift

    class SVSCuePoint : NSObject
  • Retrieve some informations about the SVSVideoKit framework.

    See more

    Declaration

    Objective-C

    @interface SVSFrameworkInfo : NSObject

    Swift

    class SVSFrameworkInfo : NSObject