ButtonBrowser
protocol ButtonBrowser : NSObjectProtocol
Undocumented
-
Opens a URL in the Browser. Works with direct and non-direct partnerships.
Declaration
Swift
static func open(url: URL)Parameters
urlThe URL to open (required).
-
Opens a URL in the Browser with a configuration object. Works with direct and non-direct partnerships.
Declaration
Swift
static func open(url: URL, config: Any!)Parameters
urlThe URL to open (required).
configAn object used to configure the Browser (optional).
-
Opens a URL in the Browser with a completion handler. Works with direct and non-direct partnerships.
Declaration
Swift
static func open(url: URL) async throwsParameters
urlThe URL to open (required).
completionHandlerA block that is invoked after opening the URL (optional).
-
Opens a URL in the Browser with a configuration object and a completion handler. Works with direct and non-direct partnerships.
Declaration
Swift
static func open(url: URL, config: Any!) async throwsParameters
urlThe URL to open (required).
configAn object used to configure the Browser (optional).
completionHandlerA block that is invoked after opening the URL (optional).
-
Deprecated
Use ‘Button.openURL()’ or any of the other method signatures instead.
Opens a URL in the Browser. Works with direct and non-direct partnerships.
Declaration
Swift
static func open(url: URL, title: String?, subtitle: String?) async throwsParameters
urlThe URL to open (required).
titleA title to set on the Browser (optional).
subtitleA subtitle to set on the Browser (optional).
completionHandlerA block that is invoked after opening the URL (optional).
ButtonBrowser Protocol Reference