BFAppLinkNavigation Class Reference
| 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.
Tasks
-
extrasproperty -
appLinkDataproperty -
appLinkproperty -
+ navigationWithAppLink:extras:appLinkData: -
– navigate: -
+ resolveAppLinkInBackground: -
+ resolveAppLinkInBackground:resolver: -
+ navigateToAppLink:error: -
+ navigateToURLInBackground: -
+ navigateToURLInBackground:resolver: -
+ defaultResolver -
+ setDefaultResolver:
Properties
appLink
The AppLink to navigate to
@property (nonatomic, strong, readonly) BFAppLink *appLinkDiscussion
The AppLink to navigate to
Declared In
BFAppLinkNavigation.happLinkData
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 *appLinkDataDiscussion
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.hextras
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 *extrasDiscussion
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.hClass 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>)defaultResolverDiscussion
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.hnavigateToAppLink:error:
Navigates to a BFAppLink and returns whether it opened in-app or in-browser
+ (BFAppLinkNavigationType)navigateToAppLink:(id)link error:(id)errorDiscussion
Navigates to a BFAppLink and returns whether it opened in-app or in-browser
Declared In
BFAppLinkNavigation.hnavigateToURLInBackground:
Navigates to a URL (an asynchronous action) and returns a BFNavigationType
+ (BFTask *)navigateToURLInBackground:(id)destinationDiscussion
Navigates to a URL (an asynchronous action) and returns a BFNavigationType
Declared In
BFAppLinkNavigation.hnavigateToURLInBackground: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)resolverDiscussion
Navigates to a URL (an asynchronous action) using the given App Link resolution strategy and returns a BFNavigationType
Declared In
BFAppLinkNavigation.hnavigationWithAppLink:extras:appLinkData:
Creates an AppLinkNavigation with the given link, extras, and App Link data
+ (instancetype)navigationWithAppLink:(id)appLink extras:(id)extras appLinkData:(id)appLinkDataDiscussion
Creates an AppLinkNavigation with the given link, extras, and App Link data
Declared In
BFAppLinkNavigation.hresolveAppLinkInBackground:
Returns a BFAppLink for the given URL
+ (BFTask *)resolveAppLinkInBackground:(id)destinationDiscussion
Returns a BFAppLink for the given URL
Declared In
BFAppLinkNavigation.hresolveAppLinkInBackground:resolver:
Returns a BFAppLink for the given URL using the given App Link resolution strategy
+ (BFTask *)resolveAppLinkInBackground:(id)destination resolver:(id)resolverDiscussion
Returns a BFAppLink for the given URL using the given App Link resolution strategy
Declared In
BFAppLinkNavigation.hsetDefaultResolver:
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)resolverDiscussion
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