GoogleInteractiveMediaAds Framework Reference
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 2024-06-18 UTC.
[null,null,["Last updated 2024-06-18 UTC."],[[["`IMASignalCompletionHandler` is a type definition used for handling the completion of signal generation, returning either the signals as a string or an error object."],["This type definition is available globally and is used within the `IMASecureSignalsAdapter` framework."],["It 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."]]],[]]