MCLSentShareOpenedEvent
@interface MCLSentShareOpenedEvent : NSObject
A share sent from this device caused the app to be opened by someone else.
Note that this event does not fire when clicking your own links.
See
https://docs.megacool.co/learn/links for more details about when different properties are available on the event.-
The userId for the person that opened the share.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSString *_Nonnull receiverUserId;
Swift
var receiverUserId: String { get }
-
Whether opening the share resulted in an install or a re-engagement for the receiver.
Use this to reward the sender for the referral.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL isFirstSession;
Swift
var isFirstSession: Bool { get }
-
When the event occured.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSDate *_Nonnull createdAt;
Swift
var createdAt: Date { get }