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
constructor(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

Adds a list of context entities to the existing ones.

Link copied to clipboard

Adds a list of context entities to the existing ones.

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

Tag of the Activity subclass.

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

The payload for the event.

Link copied to clipboard
Link copied to clipboard

Used for events whose properties are added as entities, e.g. Ecommerce events

Link copied to clipboard

Name of the Fragment subclass.

Link copied to clipboard

Tag of the Fragment subclass.

Link copied to clipboard
val id: String

Identifier of the screen view (unique for each screen view event).

Link copied to clipboard

Name of the screen.

Link copied to clipboard

Identifier of the previous screen.

Link copied to clipboard

Name of the previous screen.

Link copied to clipboard

Type of the previous screen.

Link copied to clipboard
open override val schema: String
Link copied to clipboard

Type of transition between previous and current screen.

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

Type of screen.