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

A link was clicked by the user. More...

Public Member Functions

 MegacoolLinkClickedEvent (Uri url, MegacoolReferralCode referralCode)
 
override string ToString ()
 

Properties

Uri Url [get]
 Get the url that was clicked. More...
 
MegacoolReferralCode ReferralCode [get]
 Get the referral code from the link clicked, or null if there was none. More...
 

Detailed Description

A link was clicked by the user.

This event is purely local to the device and thus both available offline and very fast, and thus suitable for navigation within the app (with sanity checking of destinations).

For more details on which properties are available on events when clicking links, see docs.megacool.co/learn/links.

See also
MegacoolSentShareOpenedEvent, MegacoolReceivedShareOpenedEvent

Property Documentation

◆ ReferralCode

MegacoolReferralCode MegacoolLinkClickedEvent.ReferralCode
get

Get the referral code from the link clicked, or null if there was none.

The referral code if there was one, or null.

◆ Url

Uri MegacoolLinkClickedEvent.Url
get

Get the url that was clicked.

This is always a relative url like "/some/path" or "/" and mirrors what was set in MegacoolShareConfig.Url when the share was created.

The clicked url.


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