public final class

ReceivedShareOpenedEvent

extends Object
implements Serializable
java.lang.Object
   ↳ co.megacool.megacool.ReceivedShareOpenedEvent

Class Overview

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.

Summary

Public Methods
Date getCreatedAt()
The time the share was opened.
String getSenderUserId()
The userId for the user that sent the share.
Share getShare()
The share object that lead to the event, or null.
boolean isFirstSession()
Whether this was an install, or a re-engagement.
String toString()
Get the event as a String.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Date getCreatedAt ()

The time the share was opened.

public String getSenderUserId ()

The userId for the user that sent the share.

Returns
  • the sender's userId.
See Also

public Share getShare ()

The share object that lead to the event, or null. This will be null if the url clicked didn't contain enough information to identify the specific share, but we could identify the sender.

Returns
  • the share, or null if none could be identified.

public boolean isFirstSession ()

Whether this was an install, or a re-engagement.

Returns
  • true if this was an install, false otherwise.

public String toString ()

Get the event as a String.