GoogleInteractiveMediaAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Type-Definitions
The following type definitions are available globally.
-
Completion handler for signal generation. Returns either signals or an error object.
Declaration
Swift
typealias IMASignalCompletionHandler = (String?, (any Error)?) -> Void
Objective-C
typedef void (^IMASignalCompletionHandler)(NSString *_Nullable,
NSError *_Nullable)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eIMASignalCompletionHandler\u003c/code\u003e is a global type definition used for signal generation.\u003c/p\u003e\n"],["\u003cp\u003eIt is a completion handler that returns either signals as a String or an error object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIMASignalCompletionHandler\u003c/code\u003e is defined as a typealias in Swift and as a block in Objective-C.\u003c/p\u003e\n"]]],[],null,["# GoogleInteractiveMediaAds Framework Reference\n\nType-Definitions\n================\n\nThe following type definitions are available globally.\n- `\n ``\n ``\n `\n\n ### [IMASignalCompletionHandler](#/c:IMASecureSignalsAdapter.h@T@IMASignalCompletionHandler)\n\n `\n ` \n Completion handler for signal generation. Returns either signals or an error object. \n\n #### Declaration\n\n Swift \n\n typealias IMASignalCompletionHandler = (String?, (any Error)?) -\u003e Void\n\n Objective-C \n\n typedef void (^IMASignalCompletionHandler)(NSString *_Nullable,\n NSError *_Nullable)"]]