commit | author | age
|
bad748
|
1 |
/* |
W |
2 |
* Copyright (c) 2014, Facebook, Inc. |
|
3 |
* All rights reserved. |
|
4 |
* |
|
5 |
* This source code is licensed under the BSD-style license found in the |
|
6 |
* LICENSE file in the root directory of this source tree. An additional grant |
|
7 |
* of patent rights can be found in the PATENTS file in the same directory. |
|
8 |
* |
|
9 |
*/ |
|
10 |
|
|
11 |
#import <Foundation/Foundation.h> |
|
12 |
|
|
13 |
@class BFTask; |
|
14 |
|
|
15 |
/*! |
|
16 |
Implement this protocol to provide an alternate strategy for resolving |
|
17 |
App Links that may include pre-fetching, caching, or querying for App Link |
|
18 |
data from an index provided by a service provider. |
|
19 |
*/ |
|
20 |
@protocol BFAppLinkResolving <NSObject> |
|
21 |
|
|
22 |
/*! |
|
23 |
Asynchronously resolves App Link data for a given URL. |
|
24 |
|
|
25 |
@param url The URL to resolve into an App Link. |
|
26 |
@returns A BFTask that will return a BFAppLink for the given URL. |
|
27 |
*/ |
|
28 |
- (BFTask *)appLinkFromURLInBackground:(NSURL *)url; |
|
29 |
|
|
30 |
@end |