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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-07 UTC."],[[["The `SearchContentOpenURLDelegate` protocol enables opening URLs found within search content."],["It provides a single method, `openURL(url:)`, that requests the delegate to open a given URL."]]],["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"]]