new RefreshListener()
Utility class which is associated with every Kml file. It allows parts of the KML to ask for the refresh which will happen in the correct time.
Main usage is in the different modes of refresh in the NetworkLink / Link.
The refresh listener works in this fashion:
User, which is some of the classes supporting refreshes adds event to the Refresh listener. Event has some content and
Classes
Methods
addEvent(event)
It adds event which should be scheduled later on. It is necessary to store it in a structure, which will return
what is to be scheduled in a fast manner.
Parameters:
Name | Type | Description |
---|---|---|
event |
RefreshListener.Event | Event which should be part of the Refresh listeners internals. |
getActiveEvents() → {Array.<RefreshListener.Event>}
All events, which weren't scheduled and should still be.
Returns:
It returns all events which should have been scheduled by now.
- Type
- Array.<RefreshListener.Event>