UNSTABLE_addTemporalMarkerOffset

open fun UNSTABLE_addTemporalMarkerOffset(offset: Double, callback: MarkerCallback): T

Add a temporal marker at the current duration plus an offset to run a callback at that time.

Return

The builder

Parameters

offset

The offset to add to the current duration (seconds)

callback

The callback to run


open fun UNSTABLE_addTemporalMarkerOffset(offset: Measure<Time>, callback: MarkerCallback): T

Add a temporal marker at the current duration plus an offset to run a callback at that time.

Return

The builder

Parameters

offset

The offset to add to the current duration

callback

The callback to run


open fun UNSTABLE_addTemporalMarkerOffset(offset: Double, unit: Time, callback: MarkerCallback): T

Add a temporal marker at the current duration plus an offset to run a callback at that time.

Return

The builder

Parameters

offset

The offset magnitude to add to the current duration

unit

The unit of the offset (will be converted to seconds)

callback

The callback to run