Inherits from NSObject
Declared in BFAppLink.h

Overview

Contains App Link metadata relevant for navigation on this device derived from the HTML at a given URL.

Properties

sourceURL

The URL from which this BFAppLink was derived

@property (nonatomic, strong, readonly) NSURL *sourceURL

Discussion

The URL from which this BFAppLink was derived

Declared In

BFAppLink.h

targets

The ordered list of targets applicable to this platform that will be used for navigation.

@property (nonatomic, copy, readonly) NSArray *targets

Discussion

The ordered list of targets applicable to this platform that will be used for navigation.

Declared In

BFAppLink.h

webURL

The fallback web URL to use if no targets are installed on this device.

@property (nonatomic, strong, readonly) NSURL *webURL

Discussion

The fallback web URL to use if no targets are installed on this device.

Declared In

BFAppLink.h

Class Methods

appLinkWithSourceURL:targets:webURL:

Creates a BFAppLink with the given list of BFAppLinkTargets and target URL.

+ (instancetype)appLinkWithSourceURL:(id)sourceURL targets:(id)targets webURL:(id)webURL

Parameters

sourceURL

the URL from which this App Link is derived

targets

an ordered list of BFAppLinkTargets for this platform derived from App Link metadata.

webURL

the fallback web URL, if any, for the app link.

Discussion

Creates a BFAppLink with the given list of BFAppLinkTargets and target URL.

Generally, this will only be used by implementers of the BFAppLinkResolving protocol, as these implementers will produce App Link metadata for a given URL.

Declared In

BFAppLink.h