Type-Definitions
The following type definitions are available globally.
-
The definition of the completion block used by URL shortener.
Declaration
Swift
typealias DynamicLinkShortenerCompletion = (URL?, [String]?, Error?) -> Void
Parameters
shortURL
Shortened URL.
warnings
Warnings that describe usability or function limitations of the generated short link. Usually presence of warnings means parameteres format error, parametres value error or missing parameter.
error
Error if URL can’t be shortened.
-
The definition of the block used by |resolveShortLink:completion:|
Declaration
Swift
typealias DynamicLinkResolverHandler = (URL?, Error?) -> Void
-
The definition of the block used by |handleUniversalLink:completion:|
Declaration
Swift
typealias DynamicLinkUniversalLinkHandler = (FIRDynamicLink?, Error?) -> Void