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>
  • 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
  • Class used to create instream video ad placement.

    See more

    Declaration

    Objective-C

    @interface SVSAdPlacement : NSObject <NSCoding, NSCopying>
  • Configuration of the ad player.

    See more

    Declaration

    Objective-C

    @interface SVSAdPlayerConfiguration : 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>
  • Represents the details of an ad rule related to a given ad break type.

    See more

    Declaration

    Objective-C

    @interface SVSAdRuleData : NSObject <NSCopying, NSCoding>
  • Represents a set of ad rules.

    See more

    Declaration

    Objective-C

    @interface 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
  • 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