You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.3 KiB
Objective-C
52 lines
1.3 KiB
Objective-C
//
|
|
// InterstitialLevelPlayCallbacksWrapper.m
|
|
// iOSBridge
|
|
//
|
|
// Created by Moshe Aviv Aslanov on 02/05/2022.
|
|
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
|
|
//
|
|
|
|
#import "InterstitialLevelPlayCallbacksWrapper.h"
|
|
|
|
@implementation InterstitialLevelPlayCallbacksWrapper
|
|
|
|
-(instancetype)initWithDelegate:(id<InterstitialLevelPlayCallbacksWrapper>)delegate {
|
|
self = [super init];
|
|
|
|
if (self) {
|
|
_delegate = delegate;
|
|
}
|
|
|
|
return self;
|
|
}
|
|
|
|
- (void)didClickWithAdInfo:(ISAdInfo *)adInfo {
|
|
[_delegate interstitialLevelPlayDidClickWithAdInfo:adInfo];
|
|
}
|
|
|
|
- (void)didCloseWithAdInfo:(ISAdInfo *)adInfo {
|
|
[_delegate interstitialLevelPlayDidCloseWithAdInfo:adInfo];
|
|
}
|
|
|
|
- (void)didFailToLoadWithError:(NSError *)error {
|
|
[_delegate interstitialLevelPlayDidFailToLoadWithError:error];
|
|
}
|
|
|
|
- (void)didFailToShowWithError:(NSError *)error andAdInfo:(ISAdInfo *)adInfo {
|
|
[_delegate interstitialLevelPlayDidFailToShowWithError:error andAdInfo:adInfo];
|
|
}
|
|
|
|
- (void)didLoadWithAdInfo:(ISAdInfo *)adInfo {
|
|
[_delegate interstitialLevelPlayDidLoadWithAdInfo:adInfo];
|
|
}
|
|
|
|
- (void)didOpenWithAdInfo:(ISAdInfo *)adInfo {
|
|
[_delegate interstitialLevelPlayDidOpenWithAdInfo:adInfo];
|
|
}
|
|
|
|
- (void)didShowWithAdInfo:(ISAdInfo *)adInfo {
|
|
[_delegate interstitialLevelPlayDidShowWithAdInfo:adInfo];
|
|
}
|
|
|
|
@end
|