SCAdListener
@protocol SCAdListener
Listener protocol which is informed about state changes from SCAdSDKController
-
Called when advertisement playback has ended
Declaration
Objective-C
- (void)onEndCallbackWith:(SCAdViewController *)controller; -
Called when advertisement playback has started
Declaration
Objective-C
- (void)onStartCallbackWith:(SCAdViewController *)controller; -
Called when an emmpty video ad was delivered
Declaration
Objective-C
- (void)onCappedCallbackWith:(SCAdViewController *)controller; -
Called when prefetching of data for advertisement has finished
Declaration
Objective-C
- (void)onPrefetchCompleteCallbackWith:(SCAdViewController *)controller; -
Called on for every ScAdInfo.Type change
Declaration
Objective-C
- (void)onEventCallbackWith:(SCAdViewController *)controller info:(SCAdInfo *)info; -
Called when the advertisement is clicked. You can prevent linking to the advertisers WebSite by catching click events.
Declaration
Objective-C
- (id)onClickthruCallbackWith:(SCAdViewController *)controller targetURL:(id)url;Return Value
true if the given url could be successfully opened
SCAdListener Protocol Reference