Type-Definitions

The following type definitions are available globally.

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

    Declaration

    Swift

    typealias FIRDynamicLinkResolverHandler = (URL?, Error?) -> Void

    Objective-C

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

    Declaration

    Swift

    typealias FIRDynamicLinkUniversalLinkHandler = (FIRDynamicLink?, Error?) -> Void

    Objective-C

    typedef void (^FIRDynamicLinkUniversalLinkHandler)(FIRDynamicLink *_Nullable,
                                                       NSError *_Nullable)