Overview
A MediaTimer
specifies a time and an action to be performed when the
media reaches that time. When the currentTime
on a
MediaPlayer
reaches the specified time, the timer action fucntion
is invoked.
NOTE: MediaTimers are currently non-functional on desktop systems. They will
be fully implemented in a future release.
See Also:
MediaPlayer#timers
Profile: common
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | action | function(:MediaTimer):Void |
Defines the function that will be invoked when the time is reached |
||||
public | time | Duration |
Defines the time at which the action should be performed |