started

abstract fun started(payload: ByteArray, elapsedTime: Duration?, macroContext: MacroContext?): ByteArray

Signals the beginning of the ad.

Return

an updated payload reflecting the tracking state after the call.

Parameters

payload

serialized ad payload.

elapsedTime

time elapsed since the ad started playing, or null treated as 0.

macroContext

optional context used to expand tracking-URL macros.

Throws


abstract fun started(payload: ByteArray, elapsedTime: Duration?, macroContext: MacroContext?): ByteArray

Java-friendly overload of started accepting a java.time.Duration.

See also