JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

expand all

Profile: desktop, common

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

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicactionfunction(:MediaTimer):Void

Defines the function that will be invoked when the time is reached

publictimeDuration

Defines the time at which the action should be performed

Inherited Variables

Inherited Functions