ListItemView

class ListItemView(var index: Int, var itemsCount: Int?) : AbstractSelfDescribing

Event tracking the view of an item in a list. If screen engagement tracking is enabled, the list item view events will be aggregated into a screen_summary entity and won't be sent as separate events to the collector.

Schema: iglu:com.snowplowanalytics.mobile/list_item_view/jsonschema/1-0-0

Constructors

Link copied to clipboard
constructor(index: Int, itemsCount: Int?)

Functions

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 trueTimestamp(trueTimestamp: Long?): AbstractEvent

Set the custom timestamp of the event.

Properties

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
var index: Int

Index of the item in the list.

Link copied to clipboard

Total number of items in the list.

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