Skip to main content

updatePlayerTimeCode

Introduction​

The updatePlayerTimeCode(timeCode:) method updates the SDK with the current timecode of the client app's video playback. This enables the SDK to make API calls that are dependent on this data point.

Parameters​

ParameterTypeDescriptionExample
timeCodeDoubleThe current timecode in milliseconds.1782610145000

Code Example​

// Update the SDK with the timecode 1782610145000
eventInterface.updatePlayerTimeCode(timeCode: 1782610145000)