FirebaseDynamicLinks Framework Reference

Type Definitions

The following type definitions are available globally.

  • The definition of the completion block used by URL shortener.

    Declaration

    Objective-C

    typedefvoid(^FIRDynamicLinkShortenerCompletion)(NSURL*_Nullable,NSArray<NSString*>*_Nullable,NSError*_Nullable)

    Parameters

    shortURL

    Shortened URL.

    warnings

    Warnings that describe usability or function limitations of the generatedshort link. Usually presence of warnings means parameters format error, parameters valueerror or missing parameter.

    error

    Error if URL can’t be shortened.

  • The definition of the block used by |resolveShortLink:completion:|

    Declaration

    Objective-C

    typedefvoid(^FIRDynamicLinkResolverHandler)(NSURL*_Nullable,NSError*_Nullable)
  • The definition of the block used by |handleUniversalLink:completion:|

    Declaration

    Objective-C

    typedefvoid(^FIRDynamicLinkUniversalLinkHandler)(FIRDynamicLink*_Nullable,NSError*_Nullable)

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-03-10 UTC.