inappmessaging / com.rakuten.tech.mobile.inappmessaging.runtime.data.models.appevents / Event

Event

interface Event

Interface of local events.

Functions

| getAttributeMap | This method returns event attribute map.abstract fun getAttributeMap(): Map<String, Attribute?> | | getEventName | This method returns event name.abstract fun getEventName(): String | | getEventType | This method returns event type.abstract fun getEventType(): Int | | getRatEventMap | This method returns RAT event map.abstract fun getRatEventMap(): Map<String, Any> | | getTimestamp | This method returns event timestamp.abstract fun getTimestamp(): Long | | isPersistentType | This method returns event is persistent type (can be used by campaigns multiple times). If persistent type, event will not be removed in LocalEventRepository when used by a campaign.abstract fun isPersistentType(): Boolean | | setShouldNotClear | Set to true if the event was logged when user information was updated, or before/during ping request..abstract fun setShouldNotClear(shouldNotClear: Boolean): Unit | | shouldNotClear | This method returns true if the event was logged when user info was updated, or before/during ping request.abstract fun shouldNotClear(): Boolean |

Inheritors

| BaseEvent | BaseEvent will be the base class of all local events objects, including CustomEvent. During initialization, constructor parameters will be checked for validity if there are reasons to believe that parameter could be invalid.abstract class BaseEvent : Event |