onPlayerTimecodeUpdated
Reports where the player's play-head is.
Overview
Call onPlayerTimecodeUpdated() on the session as playback moves, for example from your player's
position updates. Timecoded overlays in MaestroCoreOverlays show when the play-head
reaches their time.
Syntax
fun onPlayerTimecodeUpdated(absoluteTimeMillis: Long?)
Parameters
| Parameter | Type | Description |
|---|---|---|
absoluteTimeMillis | Long? | The play-head as absolute time in epoch milliseconds, or null when it is unknown. |
Example
// From your player's position updates
sdk.onPlayerTimecodeUpdated(absoluteTimeMillis)