Type-Definitions
The following type definitions are available globally.
-
A block to be executed when a Picture-in-Picture (PiP) request operation completes. On success, ad is non-nil and |error| is nil. On failure, ad is nil and |error| is non-nil.
Declaration
Swift
typealias PictureInPictureAdLoadCompletionHandler = (PictureInPictureAd?, (any Error)?) -> VoidObjective-C
typedef void (^GADPictureInPictureAdLoadCompletionHandler)( GADPictureInPictureAd *_Nullable, NSError *_Nullable) -
A block that executes when the ad request operation completes. On success, ad is non-nil and |error| is nil. On failure, ad is nil and |error| is non-nil.
Declaration
Swift
typealias GADSwipeableInterstitialAdLoadCompletionHandler = (SwipeableInterstitialAd?, (any Error)?) -> VoidObjective-C
typedef void (^GADSwipeableInterstitialAdLoadCompletionHandler)( GADSwipeableInterstitialAd *_Nullable, NSError *_Nullable)