Namespace cwi.smilText.Time
Hold classes and methods related to the smilText time engine.
Defined in: cwi.smilText.Time.js.
Field Summary
EVENT_END
Stand for the natural end event of a Playable object.
EVENT_PAUSE
Stand for the pause event of a Playable object.
EVENT_PLAY
Stand for the play event of a Playable object.
EVENT_STOP
Stand for the stop event of a Playable object.
instance
Hold the smilText time engine instance, which controls the documents' scheduling.
Method Summary
Field Detail
Method Detail
cwi.smilText.Time.register(doc)
Register a given playable object to be scheduled by the time engine.
Parameters:
{cwi.smilText.Time.Playable} | doc | the playable object to be registered |
See:
cwi.smilText.Time.Playable |
cwi.smilText.Time.unregister(doc)
: boolean
Remove a given playable object from the time engine scheduler.
Parameters:
{cwi.smilText.Time.Playable} | doc | the playable object to be unregistered |
Returns:
{boolean} |
See:
cwi.smilText.Time.Playable |
cwi.smilText.Time.getInstance()
: cwi.smilText.Time
Get the singleton instance of the time engine.
Returns:
{cwi.smilText.Time} |