BFURL Class Reference
| Inherits from | NSObject | 
| Declared in | BFURL.h | 
Overview
Provides a set of utilities for working with NSURLs, such as parsing of query parameters and handling for App Link requests.
Tasks
- 
	
		
+ URLWithURL: - 
	
		
+ URLWithInboundURL:sourceApplication: - 
	
		
targetURLproperty - 
	
		
targetQueryParametersproperty - 
	
		
appLinkDataproperty - 
	
		
appLinkExtrasproperty - 
	
		
appLinkRefererproperty - 
	
		
inputURLproperty - 
	
		
inputQueryParametersproperty 
Properties
appLinkData
If this link target is an App Link, this is the data found in al_applink_data. Otherwise, it is nil.
@property (nonatomic, strong, readonly) NSDictionary *appLinkDataDiscussion
If this link target is an App Link, this is the data found in al_applink_data. Otherwise, it is nil.
Declared In
BFURL.happLinkExtras
If this link target is an App Link, this is the data found in extras.
@property (nonatomic, strong, readonly) NSDictionary *appLinkExtrasDiscussion
If this link target is an App Link, this is the data found in extras.
Declared In
BFURL.happLinkReferer
The App Link indicating how to navigate back to the referer app, if any.
@property (nonatomic, strong, readonly) BFAppLink *appLinkRefererDiscussion
The App Link indicating how to navigate back to the referer app, if any.
Declared In
BFURL.hinputQueryParameters
The query parameters of the inputURL, parsed into an NSDictionary.
@property (nonatomic, strong, readonly) NSDictionary *inputQueryParametersDiscussion
The query parameters of the inputURL, parsed into an NSDictionary.
Declared In
BFURL.hinputURL
The URL that was used to create this BFURL.
@property (nonatomic, strong, readonly) NSURL *inputURLDiscussion
The URL that was used to create this BFURL.
Declared In
BFURL.htargetQueryParameters
Gets the query parameters for the target, parsed into an NSDictionary.
@property (nonatomic, strong, readonly) NSDictionary *targetQueryParametersDiscussion
Gets the query parameters for the target, parsed into an NSDictionary.
Declared In
BFURL.htargetURL
Gets the target URL. If the link is an App Link, this is the target of the App Link. Otherwise, it is the url that created the target.
@property (nonatomic, strong, readonly) NSURL *targetURLDiscussion
Gets the target URL. If the link is an App Link, this is the target of the App Link. Otherwise, it is the url that created the target.
Declared In
BFURL.hClass Methods
URLWithInboundURL:sourceApplication:
Creates a link target from a raw URL received from an external application. This is typically called from the app delegate’s application:openURL:sourceApplication:annotation: and will post the BFAppLinkNavigateInEventName measurement event.
+ (BFURL *)URLWithInboundURL:(id)url sourceApplication:(id)sourceApplicationParameters
- url
 The instance of
NSURLto create BFURL from.
- sourceApplication
 the bundle ID of the app that is requesting your app to open the URL. The same sourceApplication in application:openURL:sourceApplication:annotation:
Discussion
Creates a link target from a raw URL received from an external application. This is typically called from the app delegate’s application:openURL:sourceApplication:annotation: and will post the BFAppLinkNavigateInEventName measurement event.
Declared In
BFURL.hURLWithURL:
Creates a link target from a raw URL. On success, this posts the BFAppLinkParseEventName measurement event. If you are constructing the BFURL within your application delegate’s application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication: to support better BFMeasurementEvent notifications
+ (BFURL *)URLWithURL:(id)urlParameters
- url
 The instance of
NSURLto create BFURL from.
Discussion
Creates a link target from a raw URL. On success, this posts the BFAppLinkParseEventName measurement event. If you are constructing the BFURL within your application delegate’s application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication: to support better BFMeasurementEvent notifications
Declared In
BFURL.h