Inherits from NSObject
Declared in BFAppLinkNavigation.h

Overview

Represents a pending request to navigate to an App Link. Most developers will simply use navigateToURLInBackground: to open a URL, but developers can build custom requests with additional navigation and app data attached to them by creating BFAppLinkNavigations themselves.

Properties

appLink

The AppLink to navigate to

@property (nonatomic, strong, readonly) BFAppLink *appLink

Discussion

The AppLink to navigate to

Declared In

BFAppLinkNavigation.h

appLinkData

The al_applink_data for the AppLinkNavigation. This will generally contain data common to navigation attempts such as back-links, user agents, and other information that may be used in routing and handling an App Link request.

@property (nonatomic, copy, readonly) NSDictionary *appLinkData

Discussion

The al_applink_data for the AppLinkNavigation. This will generally contain data common to navigation attempts such as back-links, user agents, and other information that may be used in routing and handling an App Link request.

Declared In

BFAppLinkNavigation.h

extras

The extras for the AppLinkNavigation. This will generally contain application-specific data that should be passed along with the request, such as advertiser or affiliate IDs or other such metadata relevant on this device.

@property (nonatomic, copy, readonly) NSDictionary *extras

Discussion

The extras for the AppLinkNavigation. This will generally contain application-specific data that should be passed along with the request, such as advertiser or affiliate IDs or other such metadata relevant on this device.

Declared In

BFAppLinkNavigation.h

Class Methods

defaultResolver

Gets the default resolver to be used for App Link resolution. If the developer has not set one explicitly, a basic, built-in resolver will be used.

+ (id<BFAppLinkResolving>)defaultResolver

Discussion

Gets the default resolver to be used for App Link resolution. If the developer has not set one explicitly, a basic, built-in resolver will be used.

Declared In

BFAppLinkNavigation.h

navigateToAppLink:error:

Navigates to a BFAppLink and returns whether it opened in-app or in-browser

+ (BFAppLinkNavigationType)navigateToAppLink:(id)link error:(id)error

Discussion

Navigates to a BFAppLink and returns whether it opened in-app or in-browser

Declared In

BFAppLinkNavigation.h

navigateToURLInBackground:

Navigates to a URL (an asynchronous action) and returns a BFNavigationType

+ (BFTask *)navigateToURLInBackground:(id)destination

Discussion

Navigates to a URL (an asynchronous action) and returns a BFNavigationType

Declared In

BFAppLinkNavigation.h

navigateToURLInBackground:resolver:

Navigates to a URL (an asynchronous action) using the given App Link resolution strategy and returns a BFNavigationType

+ (BFTask *)navigateToURLInBackground:(id)destination resolver:(id)resolver

Discussion

Navigates to a URL (an asynchronous action) using the given App Link resolution strategy and returns a BFNavigationType

Declared In

BFAppLinkNavigation.h

navigationWithAppLink:extras:appLinkData:

Creates an AppLinkNavigation with the given link, extras, and App Link data

+ (instancetype)navigationWithAppLink:(id)appLink extras:(id)extras appLinkData:(id)appLinkData

Discussion

Creates an AppLinkNavigation with the given link, extras, and App Link data

Declared In

BFAppLinkNavigation.h

resolveAppLinkInBackground:

Returns a BFAppLink for the given URL

+ (BFTask *)resolveAppLinkInBackground:(id)destination

Discussion

Returns a BFAppLink for the given URL

Declared In

BFAppLinkNavigation.h

resolveAppLinkInBackground:resolver:

Returns a BFAppLink for the given URL using the given App Link resolution strategy

+ (BFTask *)resolveAppLinkInBackground:(id)destination resolver:(id)resolver

Discussion

Returns a BFAppLink for the given URL using the given App Link resolution strategy

Declared In

BFAppLinkNavigation.h

setDefaultResolver:

Sets the default resolver to be used for App Link resolution. Setting this to nil will revert the default resolver to the basic, built-in resolver provided by Bolts.

+ (void)setDefaultResolver:(id)resolver

Discussion

Sets the default resolver to be used for App Link resolution. Setting this to nil will revert the default resolver to the basic, built-in resolver provided by Bolts.

Declared In

BFAppLinkNavigation.h

Instance Methods

navigate:

Performs the navigation

- (BFAppLinkNavigationType)navigate:(id)error

Discussion

Performs the navigation

Declared In

BFAppLinkNavigation.h