Classes

The following classes are available globally.

  • This class is used for configuring the advertisement behavior

    See more

    Declaration

    Objective-C

    @interface SCAdConfiguration : 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 SmartclipSDKiOS

    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 sequencer

    See more

    Declaration

    Objective-C

    @interface SCAdPlayerEvent : NSObject
  • The SCAdSessionController is a configuration for the Smartclip 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
  • 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 <SCPlayerEventListener>
  • This class holds an opener, closer and/or bumper for any video.

    See more

    Declaration

    Objective-C

    @interface SCAdVariants : NSObject
  • Small data class, can be used to configure the adView

    See more

    Declaration

    Objective-C

    @interface SCAdViewConfiguration : NSObject
  • Small class that describes the size of the video player and its view mode

    See more

    Declaration

    Objective-C

    @interface SCElementSize : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface SCMediaError : NSObject
    ///Media error codes
    typedef enum MediaErrorCode {
        MEDIA_ERR_ABORTED = 1,
        MEDIA_ERR_NETWORK,
        MEDIA_ERR_DECODE,
        MEDIA_ERR_SRC_NOT_SUPPORTED
    } MediaErrorCode;
    
    /**
     Use this class to inform SmartclipSDKiOS about a media error (error that occured during
     content video playback)
     */
    - (instancetype)initWithError:(NSError*)error;
    - (NSString*)description;
    @end
  • This class holds public progress information about the adSlot

    See more

    Declaration

    Objective-C

    @interface SCPublicAdSlot : NSObject
  • Use this class to simplify ad playback for standalone players (or as a base class for any other type of adController based playback)

    See more

    Declaration

    Objective-C

    @interface SCSimpleAdController
        : NSObject <SCAdSessionStateListener, SCAdListener>
  • This class holds the information of an universal AdId

    See more

    Declaration

    Objective-C

    @interface SCUniversalAdId : NSObject
  • Class to make VMAP playlist playback easier (uses SCSimpleAdController as a base class)

    See more

    Declaration

    Objective-C

    @interface SCVMAPAdController : SCSimpleAdController
  • Helper functions for easy access of certain controller classes

    See more

    Declaration

    Objective-C

    @interface SmartclipSDKiOSCreator : NSObject