mergAVPlayerCreatePeriodicTimeObserver

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mergAVPlayerCreatePeriodicTimeObserver(<pPlayerPointer>, <pTime>, <pCallback>)
Associationsmergav
Summary

Observer periodic times while a player is playing and send a custom message to the contol that created the player

Introduced8.0
OSios, mac
Platformsdesktop, mobile
Parameters
NameTypeDescription
pPlayerPointer

a pointer to the player in memory

pTime

a time in milliseconds.

pCallback

a callback message to send when the player reaches the periodic time. The message has two parameters:|the pointer for the player|time in milliseconds.

Values
NameTypeDescription
return

a pointer the time observer that was created

Description

The message is also invoked whenever time jumps and whenever playback starts or stops. If the interval corresponds to a very short interval in real time, the player may invoke the block less frequently than requested. Even so, the player will invoke the block sufficiently often for the app to update indications of the current time appropriately in its end-user interface.

Tagsexternals