AppsFlyerLinkGenerator

Overview

Instances of the AppsFlyerLinkGenerator class are provided as input for generateInviteUrl from AppsFlyerShareInviteHelper.

Go back to the SDK reference index.

Declaration

@interface AppsFlyerLinkGenerator : NSObject

To access AppsFlyerLinkGenerator, import AppsFlyerLib.

Properties

brandDomain

Property declaration

@property(nonatomic, nullable) NSString *brandDomain;

Methods

setChannel

Method signature

- (void)setChannel           :(nonnull NSString *)channel;

Input arguments

TypeNameDescription
NSStringchannelThe channel through which the invite is sent.

Returns
void.

setReferrerCustomerId

Method signature

- (void)setReferrerCustomerId:(nonnull NSString *)referrerCustomerId;

Input arguments

TypeNameDescription
NSStringreferrerCustomerId

Returns
void.

setCampaign

Method signature

- (void)setCampaign          :(nonnull NSString *)campaign;

Input arguments

TypeNameDescription
NSStringcampaign

Returns
void.

setReferrerUID

Method signature

- (void)setReferrerUID       :(nonnull NSString *)referrerUID;

Input arguments

TypeNameDescription
NSStringreferrerUID

Returns
void.

setReferrerName

Method signature

- (void)setReferrerName      :(nonnull NSString *)referrerName;

Input arguments

TypeNameDescription
NSStringreferrerName

Returns
void.

setReferrerImageURL

Method signature

- (void)setReferrerImageURL  :(nonnull NSString *)referrerImageURL;

Input arguments

TypeNameDescription
NSStringreferrerImageURLThe URL to referrer user avatar.

Returns
void.

setAppleAppID

Method signature

- (void)setAppleAppID        :(nonnull NSString *)appleAppID;

Input arguments

TypeNameDescription
NSStringappleAppIDApple App ID

Returns
void.

setDeeplinkPath

Method signature

- (void)setDeeplinkPath      :(nonnull NSString *)deeplinkPath;

Input arguments

TypeNameDescription
NSStringdeeplinkPathDeeplink path.

Returns
void.

setBaseDeeplink

Method signature

- (void)setBaseDeeplink      :(nonnull NSString *)baseDeeplink;

Input arguments

TypeNameDescription
NSStringbaseDeeplinkBase deeplink path.

Returns
void.

addParameterValue

Method signature

- (void)addParameterValue    :(nonnull NSString *)value forKey:(NSString *)key;

Input arguments

TypeNameDescription
NSStringvalueURL parameter value.
NSStringkeyURL parameter name.

Returns
void.

addParameters

Method signature

- (void)addParameters        :(nonnull NSDictionary *)parameters;

Input arguments

TypeNameDescription
NSDictionaryparametersURL parameters dictionary.

Returns
void.