Classes

The following classes are available globally.

  • This class is used for configuring the advertisement behavior

    See more

    Declaration

    Objective-C

    @interface SCAdConfiguration
  • 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 WKWebView subview. If there is no webView 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
  • This class is used to specify certain environment variables like desired bitrate, deviceType and screenSize

    See more

    Declaration

    Objective-C

    @interface SCAdEnvironment
  • This class holds the advertisement information

    See more

    Declaration

    Objective-C

    @interface SCAdInfo
  • Use this class to enable loggings helping you with troubleshooting any kind of errornous behavior of SCMobileSDK

    See more

    Declaration

    Objective-C

    @interface SCAdLog
  • Controls the sequence and starting points of multiple videos played by SCAdController. This controller is not automatically started after initialization.

    See more

    Declaration

    Objective-C

    @interface SCAdSequencingController <SCAdListener>
  • This class holds an opener, closer and/or prebumper for any video.

    See more

    Declaration

    Objective-C

    @interface SCAdVariants
  • SCAdViewController is the ViewController that is responsible for playing smartclip advertisement videos. The ViewController utilizes a WKWebView which uses smartclip javascript core code to execute the advertisements.

    You can set SCDisablePlayerScriptUpdate to YES in your projects plist file if you want to use the javascript player that is part of this bundle. Otherwise the player will be updated automatically.

    See more

    Declaration

    Objective-C

    @interface SCAdViewController