commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADNativeAd+ConfirmationClick.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2017 Google LLC. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <Foundation/Foundation.h> |
|
9 |
#import <GoogleMobileAds/GADNativeAd.h> |
|
10 |
#import <GoogleMobileAds/GADNativeAdUnconfirmedClickDelegate.h> |
|
11 |
#import <UIKit/UIKit.h> |
|
12 |
|
|
13 |
@interface GADNativeAd (ConfirmedClick) |
|
14 |
|
|
15 |
/// Unconfirmed click delegate. |
|
16 |
@property(nonatomic, weak, nullable) id<GADNativeAdUnconfirmedClickDelegate> |
|
17 |
unconfirmedClickDelegate; |
|
18 |
|
|
19 |
/// Registers a view that will confirm the click. |
|
20 |
- (void)registerClickConfirmingView:(nullable UIView *)view; |
|
21 |
|
|
22 |
/// Cancels the unconfirmed click. Call this method when the user fails to confirm the click. |
|
23 |
/// Calling this method causes the SDK to stop tracking clicks on the registered click confirming |
|
24 |
/// view and invokes the -nativeAdDidCancelUnconfirmedClick: delegate method. If no unconfirmed |
|
25 |
/// click is in progress, this method has no effect. |
|
26 |
- (void)cancelUnconfirmedClick; |
|
27 |
|
|
28 |
@end |