Classes

The following classes are available globally.

  • This class is used for configuring the advertisement behavior

    See more

    Declaration

    Objective-C

    @interface SCAdConfiguration : NSObject
  • SCAdContentView is a simple subclass of UIView. Its only task is to override the value for ‘intrinsicContentSize’ and give back the size (we only care for the height) of a possibly added AVPlayerLayer sublayer. If there is no AVPlayerLayer added we give back a zero height (or the height of the value initialHeight which can be assigned) as a standard height.

    See more

    Declaration

    Objective-C

    @interface SCAdContentView : UIView
  • The SCAdController encapsulates video playback for the outstream use case

    See more

    Declaration

    Objective-C

    @interface SCAdController : NSObject
  • This class is used to specify certain environment variables like desired bitrate, deviceType and screenSize

    See more

    Declaration

    Objective-C

    @interface SCAdEnvironment : NSObject
  • This class holds public error information, if an adError was detected

    See more

    Declaration

    Objective-C

    @interface SCAdError : NSObject
  • This class holds the advertisement information

    See more

    Declaration

    Objective-C

    @interface SCAdEvent : NSObject
  • This class holds the advertisement information

    See more

    Declaration

    Objective-C

    @interface SCAdInfo : NSObject
  • Use this class to enable loggings helping you with troubleshooting any kind of errorous behavior of SCTVOSSDK

    See more

    Declaration

    Objective-C

    @interface SCAdLog : NSObject
  • This class is used to specify VAST MAKROS

    See more

    Declaration

    Objective-C

    @interface SCAdMacros : NSObject
  • Use this class to communicate between your playerController and the sequnencer

    See more

    Declaration

    Objective-C

    @interface SCAdPlayerEvent : NSObject
  • Use this class for instream use cases. Here you can specify each AdSlot, it´s timing and are able to reinsert over-scrubbed adSlots

    See more

    Declaration

    Objective-C

    @interface SCAdSequencer : NSObject
  • The SCAdSessionController is a configuration for the SpotX advertising SDK, it is the initial component that establishes the basic connection to the Ad server and creates the SCAdSlotController instances.

    See more

    Declaration

    Objective-C

    @interface SCAdSessionController : NSObject
  • This class is used to specify an AdSlot for the SCAdSequencer which is used for instream playback

    See more

    Declaration

    Objective-C

    @interface SCAdSlot : NSObject
  • The SCAdSlotController initializes and controls a single AdSlot. A valid SCAdSlotController must be inialized from the SCAdSessionController.

    See more

    Declaration

    Objective-C

    @interface SCAdSlotController : NSObject
  • This class holds an opener, closer and/or bumper for any video.

    See more

    Declaration

    Objective-C

    @interface SCAdVariants : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface SCMediaError : NSObject
    typedef enum MediaErrorCode {
        MEDIA_ERR_ABORTED = 1,
        MEDIA_ERR_NETWORK,
        MEDIA_ERR_DECODE,
        MEDIA_ERR_SRC_NOT_SUPPORTED
    } MediaErrorCode;
    
    //
    - (instancetype)initWithErrorCode:(NSInteger)errorCode message:(NSString*)message;
    - (NSDictionary*)description;
    @end
  • This class holds public progress information about the adSlot

    See more

    Declaration

    Objective-C

    @interface SCPublicAdSlot : NSObject
  • This class holds the information of an universal AdId

    See more

    Declaration

    Objective-C

    @interface SCUniversalAdId : NSObject