Type Definitions
The following type definitions are available globally.
-
The definition of the completion block used by URL shortener.
Declaration
Objective-C
typedef void (^FIRDynamicLinkShortenerCompletion)( NSURL *_Nullable, NSArray<NSString *> *_Nullable, NSError *_Nullable)Parameters
shortURLShortened URL.
warningsWarnings that describe usability or function limitations of the generated short link. Usually presence of warnings means parameters format error, parameters value error or missing parameter.
errorError if URL can’t be shortened.
-
The definition of the block used by |resolveShortLink:completion:|
Declaration
Objective-C
typedef void (^FIRDynamicLinkResolverHandler)(NSURL *_Nullable, NSError *_Nullable) -
The definition of the block used by |handleUniversalLink:completion:|
Declaration
Objective-C
typedef void (^FIRDynamicLinkUniversalLinkHandler)(FIRDynamicLink *_Nullable, NSError *_Nullable)