Interface Competition
- All Superinterfaces:
SportEvent
Defines methods implemented by classes representing sport events regardless to which sport they belong
-
Method Summary
Modifier and TypeMethodDescriptionReturns aBookingStatusenum member providing booking status of the current instanceReturns aListof competitors that participate in the sport event associated with the current instanceReturns aSportEventConditionsrepresenting live conditions of the sport event associated with the current instancedefault EventStatusGet the event statusdefault StringReturns the liveOddsdefault SportEventTypeReturns aSportEventTypeindicating the type of the associated eventReturns aCompetitionStatuscontaining information about the progress of the sport event associated with the current instancedefault Optional<CompetitionStatus>Returns aCompetitionStatuscontaining information about the progress of the sport event associated with the current instance if already cached (does not make API call)getVenue()Returns the venue where the sport event associated with the current instance will take placeMethods inherited from interface com.sportradar.unifiedodds.sdk.entities.SportEvent
getId, getName, getReplacedBy, getScheduledEndTime, getScheduledTime, getSportId, isStartTimeTbd
-
Method Details
-
getStatus
CompetitionStatus getStatus()Returns aCompetitionStatuscontaining information about the progress of the sport event associated with the current instance- Returns:
- - a
CompetitionStatuscontaining information about the progress of the sport event associated with the current instance
-
getStatusIfPresent
Returns aCompetitionStatuscontaining information about the progress of the sport event associated with the current instance if already cached (does not make API call)- Returns:
- - a
CompetitionStatuscontaining information about the progress of the sport event associated with the current instance if already cached (does not make API call)
-
getBookingStatus
BookingStatus getBookingStatus()Returns aBookingStatusenum member providing booking status of the current instance- Returns:
- - a
BookingStatusenum member providing booking status of the current instance
-
getVenue
Venue getVenue()Returns the venue where the sport event associated with the current instance will take place- Returns:
- - the
Venuewhere the sport event associated with the current instance will take place
-
getConditions
SportEventConditions getConditions()Returns aSportEventConditionsrepresenting live conditions of the sport event associated with the current instance- Returns:
- - the
SportEventConditionsrepresenting live conditions of the sport event associated with the current instance
-
getCompetitors
List<Competitor> getCompetitors()Returns aListof competitors that participate in the sport event associated with the current instance- Returns:
- - a
Listof competitors that participate in the sport event associated with the current instance
-
getEventStatus
Get the event status- Returns:
- the event status
-
getLiveOdds
Returns the liveOdds- Returns:
- the liveOdds
-
getSportEventType
Returns aSportEventTypeindicating the type of the associated event- Returns:
- a
SportEventTypeindicating the type of the associated event
-