//inappmessaging/com.rakuten.tech.mobile.inappmessaging.runtime.data.models.appevents/AppStartEvent
AppStartEvent
[androidJvm]
class AppStartEvent : BaseEvent
App start logEvent for host app to use. Host app can send this event after every app launch, including first launch, or resume. It is recommended to log this event in host app’s base activity’s onResume().
Constructors
AppStartEvent | [androidJvm] fun AppStartEvent() |
Functions
Name | Summary |
---|---|
getAttributeMap | [androidJvm] @NotNull open override fun getAttributeMap(): Map<String, Attribute?> This method is intended to be used by child classes which doesn’t override this method. Returns an empty map. |
getEventName | [androidJvm] open override fun getEventName(): String This method returns the event name. |
getEventType | [androidJvm] @NotNull open override fun getEventType(): Int This method returns the event type id. |
getRatEventMap | [androidJvm] @NotNull open override fun getRatEventMap(): Map<String, Any> A map will be created containing event’s base attributes like event name, and timestamp. |
getTimestamp | [androidJvm] @NotNull open override fun getTimestamp(): Long This method returns the timestamp. |
isPersistentType | [androidJvm] @NotNull open override fun isPersistentType(): Boolean 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. |
setShouldNotClear | [androidJvm] open override fun setShouldNotClear(shouldNotClear: Boolean) Set to true if the event was logged when user information was updated, or before/during ping request.. |
shouldNotClear | [androidJvm] open override fun shouldNotClear(): Boolean This method returns true if the event was logged when user info was updated, or before/during ping request. |