AI-generated Key Takeaways
- 
          GADNativeAdCustomClickGestureOptionsare ad loader options for custom click gestures, available only to allowlisted publishers.
- 
          The swipeGestureDirectionproperty determines the direction for detecting swipe gestures as clicks.
- 
          The tapsAllowedproperty controls whether tap gestures are also detected and counted as clicks.
- 
          You can initialize these options with a specific swipe direction and whether taps are allowed using the initWithSwipeGestureDirection:tapsAllowed:method.
GADNativeAdCustomClickGestureOptions
@interface GADNativeAdCustomClickGestureOptions : GADAdLoaderOptionsAd loader options for custom click gestures. Available for allowlisted publishers only. These options will be ignored for publishers not allowlisted.
- 
                  
                  The direction in which swipe gestures should be detected and counted as clicks. DeclarationSwift var swipeGestureDirection: UISwipeGestureRecognizer.Direction { get set }Objective-C @property (nonatomic) UISwipeGestureRecognizerDirection swipeGestureDirection;
- 
                  
                  Whether tap gestures should continue to be detected and counted as clicks. DeclarationSwift var areTapsAllowed: Bool { get set }Objective-C @property (nonatomic, assign, unsafe_unretained, readwrite, getter=areTapsAllowed) BOOL tapsAllowed;
- 
                  
                  Initialize with the direction for detecting swipe gestures and counting them as clicks, and whether tap gestures are allowed on the ad. DeclarationSwift init(swipeGestureDirection direction: UISwipeGestureRecognizer.Direction, tapsAllowed: Bool)Objective-C - (nonnull instancetype)initWithSwipeGestureDirection: (UISwipeGestureRecognizerDirection)direction tapsAllowed:(BOOL)tapsAllowed;
- 
                  
                  Unavailable Unavailable. DeclarationObjective-C - (nonnull instancetype)init;