Enum Class EventStatus

java.lang.Object
java.lang.Enum<EventStatus>
com.sportradar.unifiedodds.sdk.entities.EventStatus
All Implemented Interfaces:
Serializable, Comparable<EventStatus>, java.lang.constant.Constable

public enum EventStatus extends Enum<EventStatus>
Possible competition statuses. This is a fixed set of states that are the same for any sport Sportradar covers
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    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 - the sport event has been cancelled, the event will not take place, there will be no results
    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 - the match has ended according to our own data, the final results may not be ready yet
    Finished - the final results have been published and confirmed (often happens much later than Ended)
    Interrupted
    Live - the match as far as we know is live could be over-time, extended time or between periods too
    NotStarted - the match as far as we know has not yet started
    Postponed
    Suspended - the match will continue but is temporarily suspended
    Unknown - if a hitherto unsupported sport-event-status is received
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the API String value
    Returns the enum constant of this class with the specified name.
    valueOfApiStatusId(int status)
     
     
    valueOfMessageStatus(com.sportradar.uf.datamodel.UfEventStatusStatus status)
     
    static EventStatus[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NotStarted

      public static final EventStatus NotStarted
      NotStarted - the match as far as we know has not yet started
    • Live

      public static final EventStatus Live
      Live - the match as far as we know is live could be over-time, extended time or between periods too
    • Suspended

      public static final EventStatus Suspended
      Suspended - the match will continue but is temporarily suspended
    • Ended

      public static final EventStatus Ended
      Ended - the match has ended according to our own data, the final results may not be ready yet
    • Finished

      public static final EventStatus Finished
      Finished - the final results have been published and confirmed (often happens much later than Ended)
    • Cancelled

      public static final EventStatus Cancelled
      Cancelled - the sport event has been cancelled, the event will not take place, there will be no results
    • Abandoned

      public static final EventStatus 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
    • Delayed

      public static final EventStatus 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
    • Unknown

      public static final EventStatus Unknown
      Unknown - if a hitherto unsupported sport-event-status is received
    • Postponed

      public static final EventStatus Postponed
      Postponed
    • Interrupted

      public static final EventStatus Interrupted
      Interrupted
  • Method Details

    • values

      public static EventStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EventStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOfApiStatusName

      public static EventStatus valueOfApiStatusName(String status)
    • valueOfApiStatusId

      public static EventStatus valueOfApiStatusId(int status)
    • valueOfMessageStatus

      public static EventStatus valueOfMessageStatus(com.sportradar.uf.datamodel.UfEventStatusStatus status)
    • getApiName

      public String getApiName()
      Returns the API String value
      Returns:
      the API String value