SearchInAppsSDK Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
SearchContentOpenURLDelegate
@objc
protocol SearchContentOpenURLDelegate
A delegate protocol for opening URLs from search content.
-
Request the delegate open the specified URL.
Declaration
Swift
@objc
func openURL(url: URL)
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-11-07 UTC.
[null,null,["Last updated 2024-11-07 UTC."],[],["The `SearchContentOpenURLDelegate` protocol handles opening URLs from search content. It defines one core function, `openURL(url:)`, which a delegate must implement. This function is called to request that the delegate open the provided URL. The protocol is designed for use in Swift and is accessible via Objective-C.\n"]]