// while loading the LViS Event<String> LViS.Event.STATE_PENDING// LViS Event is upcoming, start time > time now<String> LViS.Event.STATE_UPCOMING// LViS Event is current, start time < timenow < endtime<String> LViS.Event.STATE_ACTIVE// LViS Event is finished, end time < time now<String> LViS.Event.STATE_FINISHED// error occured during loading LViS Event data<String> LViS.Event.STATE_FAILURE
Set of constants used for state representation.
Example
// assume LViS Event is set alreadyvar event =LViS.getEvent();var state =event.getState();switch (state) {caseLViS.Event.STATE_UPCOMING:renderUpcomingState();return;caseLViS.Event.STATE_ACTIVE:renderActiveState();return;...