ScreenView

class ScreenView @JvmOverloads constructor(name: String, screenId: UUID? = null) : AbstractSelfDescribing

A ScreenView event.

Parameters

name

Name of the screen.

screenId

Identifier of the screen.

Constructors

Link copied to clipboard
fun ScreenView(name: String, screenId: UUID? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun activityClassName(activityClassName: String?): ScreenView

Name of the Activity subclass.

Link copied to clipboard
fun activityTag(activityTag: String?): ScreenView

Tag of the Activity subclass.

Link copied to clipboard
open override fun beginProcessing(tracker: Tracker)

Hook method called just before the event processing in order to execute special operations.

Link copied to clipboard

Adds a list of contexts.

Link copied to clipboard
open override fun endProcessing(tracker: Tracker)

Hook method called just after the event processing in order to execute special operations.

Link copied to clipboard

Adds a list of contexts.

Link copied to clipboard
fun fragmentClassName(fragmentClassName: String?): ScreenView

Name of the Fragment subclass.

Link copied to clipboard
fun fragmentTag(fragmentTag: String?): ScreenView

Tag of the Fragment subclass.

Link copied to clipboard
fun previousId(previousId: String?): ScreenView

Identifier of the previous screen.

Link copied to clipboard
fun previousName(previousName: String?): ScreenView

Name of the previous screen.

Link copied to clipboard
fun previousType(previousType: String?): ScreenView

Type of the previous screen.

Link copied to clipboard
fun transitionType(transitionType: String?): ScreenView

Type of transition between previous and current screen.

Link copied to clipboard
fun trueTimestamp(trueTimestamp: Long?): AbstractEvent

Set the custom timestamp of the event.

Link copied to clipboard
fun type(type: String?): ScreenView

Type of screen.

Properties

Link copied to clipboard

Name of the Activity subclass.

Link copied to clipboard
var activityTag: String? = null

Tag of the Activity subclass.

Link copied to clipboard
open override val contexts: List<SelfDescribingJson>
Link copied to clipboard

List of custom contexts associated with the event.

Link copied to clipboard
open override val dataPayload: Map<String, Any?>
Link copied to clipboard
open override val entities: List<SelfDescribingJson>
Link copied to clipboard

Name of the Fragment subclass.

Link copied to clipboard
var fragmentTag: String? = null

Tag of the Fragment subclass.

Link copied to clipboard
val id: String

Identifier of the screen.

Link copied to clipboard

Name of the screen.

Link copied to clipboard
var previousId: String? = null

Identifier of the previous screen.

Link copied to clipboard
var previousName: String? = null

Name of the previous screen.

Link copied to clipboard
var previousType: String? = null

Type of the previous screen.

Link copied to clipboard
open override val schema: String
Link copied to clipboard
var transitionType: String? = null

Type of transition between previous and current screen.

Link copied to clipboard
open override var trueTimestamp: Long? = null
Link copied to clipboard
var type: String? = null

Type of screen.