mergAVPlayerCreatePeriodicTimeObserver |
Type | function |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | mergAVPlayerCreatePeriodicTimeObserver(<pPlayerPointer>, <pTime>, <pCallback>)
|
Associations | mergav |
Summary | Observer periodic times while a player is playing and send a custom
message to the contol that created the player
|
Introduced | 8.0 |
OS | ios, mac |
Platforms | desktop, mobile |
Parameters | Name | Type | Description |
---|
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 | Name | Type | Description |
---|
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.
|
Tags | externals |