Megacool Unity
TheUnityinterfacetotheMegacoolSDK
|
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... | |
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.
|
get |
Get the referral code from the link clicked, or null
if there was none.
The referral code if there was one, or null
.
|
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.