public enum SportEventStatus extends Enum<SportEventStatus>
Enum Constant and Description |
---|
Abandoned
Abandoned - when Sportradar aborts scouting the match - this means there will be no live
reporting the match will likely take place anyhow, and after the match has been played
Sportradar will likely enter the results and the match will be moved to closed/finished
|
Cancelled
Cancelled - the sport event has been cancelled, the event will not take place, there will be
no results
|
Delayed
Delayed - if a match has passed its scheduled start time but is delayed, unknown when it will
start this is something that often happens in Tennis
|
Ended
Ended - the match has ended according to our own data, the final results may not be ready yet
|
Finished
Finished - the final results have been published and confirmed (often happens much later than
Ended)
|
Live
Live - the match as far as we know is live could be over-time, extended time or between
periods too
|
NotStarted
NotStarted - the match as far as we know has not yet started
|
Suspended
Suspended - the match will continue but is temporarily suspended
|
Unknown
Unknown - if a hitherto unsupported sport-event-status is received
|
Modifier and Type | Method and Description |
---|---|
static SportEventStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SportEventStatus |
valueOfApiStatusName(String status) |
static SportEventStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SportEventStatus NotStarted
public static final SportEventStatus Live
public static final SportEventStatus Suspended
public static final SportEventStatus Ended
public static final SportEventStatus Finished
public static final SportEventStatus Cancelled
public static final SportEventStatus Abandoned
public static final SportEventStatus Delayed
public static final SportEventStatus Unknown
public static SportEventStatus[] values()
for (SportEventStatus c : SportEventStatus.values()) System.out.println(c);
public static SportEventStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SportEventStatus valueOfApiStatusName(String status)
Copyright © 2016–2017. All rights reserved.