createPageViewEvent

abstract fun createPageViewEvent(screenName: String, context: Activity, properties: Map<String, Any?> = mutableMapOf(), callback: Callback? = null)

Registers a PAGEVIEW event with the given screen name, properties and context.

Parameters

screenName

The screen name.

context

The current activity.

properties

A map with properties for the event.

callback

The callback function containing information about the operation.