java.lang.Object | |
↳ | co.megacool.megacool.SentShareOpenedEvent |
A share sent from this device caused the app to be opened by someone else.
Note that this event will not fire when clicking your own links.
See docs.megacool.co/learn/links for more details about when different properties are available on the event.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Date |
getCreatedAt()
The time the share was opened.
| ||||||||||
String |
getReceiverUserId()
The
userId for the person that opened the share. | ||||||||||
Share |
getShare()
The share that was clicked on, or
null . | ||||||||||
boolean |
isFirstSession()
Whether opening the share resulted in an install or a re-engagement for the receiver.
| ||||||||||
String |
toString()
Get the event as a String.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The time the share was opened.
The userId
for the person that opened the share.
The share that was clicked on, or null
.
This will be null
if the url didn't contain enough information to identify the
specific share, but we could identify the receiver.
null
if it couldn't be detected.
Whether opening the share resulted in an install or a re-engagement for the receiver.
Use this to reward the sender for the referral.
true
if the share resulted in an install, false
otherwise.
Get the event as a String.