trackWithMediaProperties

abstract fun trackWithMediaProperties(eventName: String)

Tracks a custom event with the media properties attached. MediaTracker.VideoProperties for video tracking.

Parameters

eventName

Name of the event

Throws

when eventName does not use characters from the set (a-zA-Z0-0_)


abstract fun trackWithMediaProperties(eventName: String, eventProperties: EventProperties?)

Tracks a custom event with the media properties attached and optional custom properties. MediaTracker.VideoProperties for video tracking.

Parameters

eventName

Name of the event

eventProperties

Custom properties of the event

Throws

when eventName does not use characters from the set (a-zA-Z0-0_)