| | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | @protocol FBSDKAppLink; |
| | | @protocol FBSDKAppLinkCreating; |
| | | |
| | | /** |
| | | Provides a set of utilities for working with NSURLs, such as parsing of query parameters |
| | | and handling for App Link requests. |
| | | */ |
| | | NS_SWIFT_NAME(AppLinkURL) |
| | | @interface FBSDKURL : NSObject |
| | | @interface FBSDKURL : NSObject <FBSDKAppLinkURL> |
| | | |
| | | - (instancetype)init NS_UNAVAILABLE; |
| | | + (instancetype)new NS_UNAVAILABLE; |
| | |
| | | */ |
| | | @property (nonatomic, readonly, strong) NSURL *targetURL; |
| | | |
| | | /** |
| | | Gets the query parameters for the target, parsed into an NSDictionary. |
| | | */ |
| | | /// Gets the query parameters for the target, parsed into an NSDictionary. |
| | | @property (nonatomic, readonly, strong) NSDictionary<NSString *, id> *targetQueryParameters; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @property (nullable, nonatomic, readonly, strong) NSDictionary<NSString *, id> *appLinkData; |
| | | |
| | | /** |
| | | If this link target is an App Link, this is the data found in extras. |
| | | */ |
| | | /// If this link target is an App Link, this is the data found in extras. |
| | | @property (nullable, nonatomic, readonly, strong) NSDictionary<NSString *, id> *appLinkExtras; |
| | | |
| | | /** |
| | | The App Link indicating how to navigate back to the referer app, if any. |
| | | */ |
| | | /// The App Link indicating how to navigate back to the referer app, if any. |
| | | @property (nullable, nonatomic, readonly, strong) id<FBSDKAppLink> appLinkReferer; |
| | | |
| | | /** |
| | | The URL that was used to create this FBSDKURL. |
| | | */ |
| | | /// The URL that was used to create this FBSDKURL. |
| | | @property (nonatomic, readonly, strong) NSURL *inputURL; |
| | | |
| | | /** |
| | | The query parameters of the inputURL, parsed into an NSDictionary. |
| | | */ |
| | | /// The query parameters of the inputURL, parsed into an NSDictionary. |
| | | @property (nonatomic, readonly, strong) NSDictionary<NSString *, id> *inputQueryParameters; |
| | | |
| | | /** |
| | | The flag indicating whether the URL comes from auto app link |
| | | */ |
| | | /// The flag indicating whether the URL comes from auto app link |
| | | @property (nonatomic, readonly, getter = isAutoAppLink) BOOL isAutoAppLink; |
| | | |
| | | /** |
| | | Internal method exposed to facilitate transition to Swift. |
| | | API Subject to change or removal without warning. Do not use. |
| | | |
| | | @warning INTERNAL - DO NOT USE |
| | | */ |
| | | // UNCRUSTIFY_FORMAT_OFF |
| | | + (void)configureWithSettings:(id<FBSDKSettings>)settings |
| | | appLinkFactory:(id<FBSDKAppLinkCreating>)appLinkFactory |
| | | appLinkTargetFactory:(id<FBSDKAppLinkTargetCreating>)appLinkTargetFactory |
| | | appLinkEventPoster:(id<FBSDKAppLinkEventPosting>)appLinkEventPoster |
| | | NS_SWIFT_NAME(configure(settings:appLinkFactory:appLinkTargetFactory:appLinkEventPoster:)); |
| | | // UNCRUSTIFY_FORMAT_ON |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |