Megacool Unity
TheUnityinterfacetotheMegacoolSDK
Public Member Functions | Properties | List of all members
MegacoolSentShareOpenedEvent Class Reference

A share sent from this device caused the app to be opened by someone else. More...

Public Member Functions

 MegacoolSentShareOpenedEvent (bool isFirstSession, string receiverUserId, MegacoolShare share, DateTime createdAt)
 
override string ToString ()
 

Properties

bool IsFirstSession [get]
 Whether the share led to an install or a re-engagement. More...
 
string ReceiverUserId [get]
 Get the receiver's user identifier. More...
 
MegacoolShare Share [get]
 Get the share that was sent, or null. More...
 
DateTime CreatedAt [get]
 Get the time the event happened. More...
 

Detailed Description

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 docs.megacool.co/learn/links for more info on when different properties are available on the event.

See also
MegacoolReceivedShareOpenedEvent, MegacoolLinkClickedEvent

Property Documentation

◆ CreatedAt

DateTime MegacoolSentShareOpenedEvent.CreatedAt
get

Get the time the event happened.

The time the event happened.

◆ IsFirstSession

bool MegacoolSentShareOpenedEvent.IsFirstSession
get

Whether the share led to an install or a re-engagement.

true if the event was an install, otherwise false.

◆ ReceiverUserId

string MegacoolSentShareOpenedEvent.ReceiverUserId
get

Get the receiver's user identifier.

The receiver user identifier.

See also
MegacoolReferralCode.UserId

◆ Share

MegacoolShare MegacoolSentShareOpenedEvent.Share
get

Get the share that was sent, or null.

The share can be null either if there was an error submitting the share to the backend, or if the referral code in the link was truncated either intentionally or accidentally by the user, but the sender was still identifiable.

The share if valid for the link clicked, otherwise null.


The documentation for this class was generated from the following file: