SCAdSessionController
@interface SCAdSessionController : NSObject
The SCAdSessionController is a singleton configuration for the Smartclip advertising SDK, it is the initial component that establishes the basic connection to the Ad server and creates the AdSlots.
-
Undocumented
Declaration
Objective-C
@property (nonatomic, weak) id<SCAdSessionStateListener> sessionStateListener -
Get the shared instance of this controller
Declaration
Objective-C
+ (instancetype)sharedInstance; -
Use this function to get your SCAdSlotController, the object that handles an adSlot You have to pass in your instance of the AVPlayer.
Declaration
Objective-C
- (SCAdSlotController *)adSlotControllerWithAVPlayer:(id)avPlayer;
SCAdSessionController Class Reference