commit | author | age
|
dc2c02
|
1 |
// |
L |
2 |
// LinkGenerator.h |
|
3 |
// AppsFlyerLib |
|
4 |
// |
|
5 |
// Created by Gil Meroz on 27/01/2017. |
|
6 |
// |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
NS_ASSUME_NONNULL_BEGIN |
|
12 |
|
|
13 |
/** |
|
14 |
Payload container for the `generateInviteUrlWithLinkGenerator:completionHandler:` from `AppsFlyerShareInviteHelper` |
|
15 |
*/ |
|
16 |
@interface AppsFlyerLinkGenerator : NSObject |
|
17 |
|
|
18 |
/// Instance initialization is not allowed. Use generated instance |
|
19 |
/// from `-[AppsFlyerShareInviteHelper generateInviteUrlWithLinkGenerator:completionHandler]` |
|
20 |
- (instancetype)init NS_UNAVAILABLE; |
|
21 |
/// Instance initialization is not allowed. Use generated instance |
|
22 |
/// from `-[AppsFlyerShareInviteHelper generateInviteUrlWithLinkGenerator:completionHandler]` |
|
23 |
+ (instancetype)new NS_UNAVAILABLE; |
|
24 |
|
|
25 |
@property(nonatomic, nullable) NSString *brandDomain; |
|
26 |
|
|
27 |
/// The channel through which the invite was sent (e.g. Facebook/Gmail/etc.). Usage: Recommended |
|
28 |
- (void)setChannel :(nonnull NSString *)channel; |
|
29 |
/// ReferrerCustomerId setter |
|
30 |
- (void)setReferrerCustomerId:(nonnull NSString *)referrerCustomerId; |
|
31 |
/// A campaign name. Usage: Optional |
|
32 |
- (void)setCampaign :(nonnull NSString *)campaign; |
|
33 |
/// ReferrerUID setter |
|
34 |
- (void)setReferrerUID :(nonnull NSString *)referrerUID; |
|
35 |
/// Referrer name |
|
36 |
- (void)setReferrerName :(nonnull NSString *)referrerName; |
|
37 |
/// The URL to referrer user avatar. Usage: Optional |
|
38 |
- (void)setReferrerImageURL :(nonnull NSString *)referrerImageURL; |
|
39 |
/// AppleAppID |
|
40 |
- (void)setAppleAppID :(nonnull NSString *)appleAppID; |
|
41 |
/// Deeplink path |
|
42 |
- (void)setDeeplinkPath :(nonnull NSString *)deeplinkPath; |
|
43 |
/// Base deeplink path |
|
44 |
- (void)setBaseDeeplink :(nonnull NSString *)baseDeeplink; |
|
45 |
/// A single key value custom parameter. Usage: Optional |
|
46 |
- (void)addParameterValue :(nonnull NSString *)value forKey:(NSString *)key; |
|
47 |
/// Multiple key value custom parameters. Usage: Optional |
|
48 |
- (void)addParameters :(nonnull NSDictionary *)parameters; |
|
49 |
|
|
50 |
@end |
|
51 |
|
|
52 |
NS_ASSUME_NONNULL_END |