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.
输入参数
类型 | 名称 | 描述 |
---|---|---|
AppsFlyerLinkGenerator | generator | |
(void (^)(NSURL *_Nullable url)) | completionHandler | Optional. 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
.
已更新 11 months ago