commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADNativeAdCustomClickGestureOptions.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2022 Google LLC. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <GoogleMobileAds/GADAdLoader.h> |
|
9 |
|
|
10 |
/// Ad loader options for custom click gestures. Available for allowlisted publishers only. These |
|
11 |
/// options will be ignored for publishers not allowlisted. |
|
12 |
@interface GADNativeAdCustomClickGestureOptions : GADAdLoaderOptions |
|
13 |
|
|
14 |
/// The direction in which swipe gestures should be detected and counted as clicks. |
|
15 |
@property(nonatomic, assign) UISwipeGestureRecognizerDirection swipeGestureDirection; |
|
16 |
|
|
17 |
/// Whether tap gestures should continue to be detected and counted as clicks. |
|
18 |
@property(nonatomic, assign) BOOL tapsAllowed; |
|
19 |
|
|
20 |
/// Initialize with the direction for detecting swipe gestures and counting them as clicks, and |
|
21 |
/// whether tap gestures are allowed on the ad. |
|
22 |
- (nonnull instancetype)initWithSwipeGestureDirection:(UISwipeGestureRecognizerDirection)direction |
|
23 |
tapsAllowed:(BOOL)tapsAllowed NS_DESIGNATED_INITIALIZER; |
|
24 |
|
|
25 |
/// Unavailable. |
|
26 |
- (nonnull instancetype)init NS_UNAVAILABLE; |
|
27 |
|
|
28 |
@end |