SCAdSessionController
@interface SCAdSessionController : 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.
-
Undocumented
Declaration
Objective-C
@property (nonatomic, weak) id<SCAdSessionStateListener> sessionStateListener -
Use this function to get your SCAdSlotController, the object that handles an adSlot
Declaration
Objective-C
- (nonnull SCAdSlotController *)createAdSlotWithFacadeDelegate: (nonnull id<SCAdFacadeDelegate>)listener; -
Stop an adSlot
Declaration
Objective-C
- (void)stopAdSlot; -
Skip an ad
Declaration
Objective-C
- (void)skipAd; -
Cleanup after usage!
Declaration
Objective-C
- (void)cleanup; -
Delete all cookies
Declaration
Objective-C
- (void)deleteCookies; -
Get a list of saved cookies
Declaration
Objective-C
- (void)getSavedCookiesWithCompletion:(nonnull SCSetCompletionBlock)completion; -
Get version string of core
Declaration
Objective-C
- (void)getCoreVersion:(SCStringCompletionBlock _Nonnull)completion; -
Set user tracking allowed or not allowed (from ATTrackingManager required since iOS14) Used for blocking cookies
Declaration
Objective-C
+ (void)setUserTracking:(Boolean)allowed;
SCAdSessionController Class Reference