public enum EventStatus extends Enum<EventStatus>
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)
|
Interrupted
Interrupted
|
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
|
Postponed
Postponed
|
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 |
---|---|
String |
getApiName()
Returns the API
String value |
static EventStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventStatus |
valueOfApiStatusId(int status) |
static EventStatus |
valueOfApiStatusName(String status) |
static EventStatus |
valueOfMessageStatus(com.sportradar.uf.datamodel.UfEventStatusStatus status) |
static EventStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventStatus NotStarted
public static final EventStatus Live
public static final EventStatus Suspended
public static final EventStatus Ended
public static final EventStatus Finished
public static final EventStatus Cancelled
public static final EventStatus Abandoned
public static final EventStatus Delayed
public static final EventStatus Unknown
public static final EventStatus Postponed
public static final EventStatus Interrupted
public static EventStatus[] values()
for (EventStatus c : EventStatus.values()) System.out.println(c);
public static EventStatus 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 EventStatus valueOfApiStatusName(String status)
public static EventStatus valueOfApiStatusId(int status)
public static EventStatus valueOfMessageStatus(com.sportradar.uf.datamodel.UfEventStatusStatus status)
Copyright © 2016–2025. All rights reserved.