Megacool Unity
The Unity interface to the Megacool SDK
Public Member Functions | Properties | List of all members
MegacoolReceivedShareOpenedEvent Class Reference

This device clicked on a share sent by someone else. More...

Public Member Functions

 MegacoolReceivedShareOpenedEvent (bool isFirstSession, string senderUserId, MegacoolShare share, DateTime createdAt)
 
override string ToString ()
 

Properties

bool IsFirstSession [get]
 Whether the event represents an install or a re-engagement. More...
 
string SenderUserId [get]
 Get the identifier for the sending user. More...
 
MegacoolShare Share [get]
 Get the share that was received, or null. More...
 
DateTime CreatedAt [get]
 Get the time the event happened. More...
 

Detailed Description

This device clicked on a share sent 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
MegacoolSentShareOpenedEvent, MegacoolLinkClickedEvent

Property Documentation

◆ CreatedAt

DateTime MegacoolReceivedShareOpenedEvent.CreatedAt
get

Get the time the event happened.

The time the event happened.

◆ IsFirstSession

bool MegacoolReceivedShareOpenedEvent.IsFirstSession
get

Whether the event represents an install or a re-engagement.

true if it was an install, otherwise false.

◆ SenderUserId

string MegacoolReceivedShareOpenedEvent.SenderUserId
get

Get the identifier for the sending user.

The sender's user identifier.

See also
MegacoolReferralCode.UserId

◆ Share

MegacoolShare MegacoolReceivedShareOpenedEvent.Share
get

Get the share that was received, 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: