Overview
A MediaTimer
specifies a time and an action to be performed when the
media reaches that time. When the current Time on a MediaPlayer reaches the
time
, the action
fucntion is invoked.
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 |