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 type definition used for handling the completion of signal generation, returning either the signals as a string or an error object.\u003c/p\u003e\n"],["\u003cp\u003eThis type definition is available globally and is used within the \u003ccode\u003eIMASecureSignalsAdapter\u003c/code\u003e framework.\u003c/p\u003e\n"],["\u003cp\u003eIt is declared as a typealias in Swift and as a block in Objective-C, both accepting an optional string for signals and an optional error object.\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)"]]