AppsFlyerShareInviteHelper

总览

The AppsFlyerShareInviteHelper class provides a structured way to construct user-invite URLs for various scenarios.

回到SDK参考索引

方法

generateInviteUrl

方法签名

(void)generateInviteUrlWithLinkGenerator:(AppsFlyerLinkGenerator *(^)(AppsFlyerLinkGenerator *generator))generatorCreator completionHandler:(void (^)(NSURL *_Nullable url))completionHandler;

描述
Generates a OneLink URL.

输入参数

类型名称描述
AppsFlyerLinkGeneratorgenerator
(void (^)(NSURL *_Nullable url))completionHandlerOptional. If provided, the SDK will attempt to generate a short link using the OneLink API.

返回
void.

logInvite

方法签名

(void)logInvite:(nullable NSString *)channel parameters:(nullable NSDictionary *)parameters;

描述
Use to log a user-invite in-app event (af_invite).

输入参数

返回
void.