Skip to main content

VideoPlayer.clockResyncOccurred

"Read-Only"

This property is Read-Only

NameType
clockResyncOccurredEventHandler

Event callback function requirement

info

This property is an event. It means that you need to add a listener function to it. Here how that function needs to look like.

function(VideoPlayer source, number seconds);

Parameters
NameTypeDescription
sourceVideoPlayerThe Video Player
secondsnumberTime when resync occurred

Usage

--- @type 
local videoplayer;

--- callback function called when event triggers
--- @param videoplayer VideoPlayer
--- @param number number
local function CallBack(videoplayer, number)
-- code to handle event call back
end


-- Regsiter callback function
videoplayer.clockResyncOccurred.Add(CallBack);

Description

Invoked when the VideoPlayer clock is synced back to its VideoTimeReference.

Extra Detail

The new VideoPlayer time is provided in the TimeEventHandler.