AppsFlyerShareInviteHelper
Overview
The AppsFlyerShareInviteHelper
class provides a structured way to construct user-invite URLs for various scenarios.
Go back to the SDK reference index.
Methods
generateInviteUrl
Method signature
(void)generateInviteUrlWithLinkGenerator:(AppsFlyerLinkGenerator *(^)(AppsFlyerLinkGenerator *generator))generatorCreator completionHandler:(void (^)(NSURL *_Nullable url))completionHandler;
Description
Generates a OneLink URL.
Input arguments
Type | Name | Description |
---|---|---|
AppsFlyerLinkGenerator | generator | |
(void (^)(NSURL *_Nullable url)) | completionHandler | Optional. If provided, the SDK will attempt to generate a short link using the OneLink API. |
Returns
void
.
logInvite
Method signature
(void)logInvite:(nullable NSString *)channel parameters:(nullable NSDictionary *)parameters;
Description
Use to log a user-invite in-app event (af_invite
).
Input arguments
Returns
void
.
Updated 12 months ago