BUSplashZoomOutView.h
1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//
// BUSplashZoomOutView.h
// BUAdSDK
//
// Created by wangyanlin on 2020/6/17.
// Copyright © 2020 bytedance. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "BUMaterialMeta.h"
NS_ASSUME_NONNULL_BEGIN
@protocol BUSplashZoomOutViewDelegate;
@interface BUSplashZoomOutView : UIView
/*
required.
Root view controller for handling ad actions.
*/
@property (nonatomic, weak) UIViewController *rootViewController;
/**
Suggested size for show.
*/
@property (nonatomic, assign, readonly) CGSize showSize;
/**
The delegate for receiving state change messages.
*/
@property (nonatomic, weak) id<BUSplashZoomOutViewDelegate> delegate;
@end
@protocol BUSplashZoomOutViewDelegate <NSObject>
/**
This method is called when splash ad is clicked.
*/
- (void)splashZoomOutViewAdDidClick:(BUSplashZoomOutView *)splashAd;
/**
This method is called when splash ad is closed.
*/
- (void)splashZoomOutViewAdDidClose:(BUSplashZoomOutView *)splashAd;
/**
This method is called when spalashAd automatically dimiss afte countdown equals to zero
*/
- (void)splashZoomOutViewAdDidAutoDimiss:(BUSplashZoomOutView *)splashAd;
/**
This method is called when another controller has been closed.
@param interactionType : open appstore in app or open the webpage or view video ad details page.
*/
- (void)splashZoomOutViewAdDidCloseOtherController:(BUSplashZoomOutView *)splashAd interactionType:(BUInteractionType)interactionType;
@end
NS_ASSUME_NONNULL_END