Interface Match
- All Superinterfaces:
Competition,SportEvent
- All Known Implementing Classes:
MatchImpl
Defines methods implemented by classes representing sport events of match type
-
Method Summary
Modifier and TypeMethodDescriptionReturns aTeamCompetitorinstance describing the away competitordefault CoverageInfoReturns aCoverageInfoinstanceReturns aDelayedInfoinstance describing possible information about a delaygetEventTimeline(Locale locale) Returns the associatedEventTimeline(NOTICE: the timeline is cached only after the event status indicates that the event has finished)default Optional<EventTimeline>getEventTimelineIfPresent(Locale locale) Returns the associatedEventTimelineif already cached (does not make API call) (NOTICE: the timeline is cached only after the event status indicates that the event has finished)Returns theFixtureinstance containing information about the arranged sport event A Fixture is a sport event that has been arranged for a particular time and placeReturns aTeamCompetitorinstance describing the home competitorReturns aSeasonInfoinstance providing basic information about the season to which the sport event associated with the current instance belongs togetSport()Returns aMatchStatuscontaining information about the progress of the match associated with the current instanceReturns the tournament associated with the current instance (possible types can beBasicTournamentandTournament)Returns aRoundinstance describing the tournament round to which the sport event associated with current instance belongs toMethods inherited from interface com.sportradar.unifiedodds.sdk.entities.Competition
getBookingStatus, getCompetitors, getConditions, getEventStatus, getLiveOdds, getSportEventType, getStatusIfPresent, getVenueMethods inherited from interface com.sportradar.unifiedodds.sdk.entities.SportEvent
getId, getName, getReplacedBy, getScheduledEndTime, getScheduledTime, getSportId, isStartTimeTbd
-
Method Details
-
getStatus
MatchStatus getStatus()Returns aMatchStatuscontaining information about the progress of the match associated with the current instance- Specified by:
getStatusin interfaceCompetition- Returns:
- - a
MatchStatuscontaining information about the progress of the match associated with the current instance
-
getSeason
SeasonInfo getSeason()Returns aSeasonInfoinstance providing basic information about the season to which the sport event associated with the current instance belongs to- Returns:
- - a
SeasonInfoinstance providing basic information about the season
-
getTournamentRound
Round getTournamentRound()Returns aRoundinstance describing the tournament round to which the sport event associated with current instance belongs to- Returns:
- - a
Roundinstance describing the tournament round
-
getHomeCompetitor
TeamCompetitor getHomeCompetitor()Returns aTeamCompetitorinstance describing the home competitor- Returns:
- - a
TeamCompetitorinstance describing the home competitor
-
getAwayCompetitor
TeamCompetitor getAwayCompetitor()Returns aTeamCompetitorinstance describing the away competitor- Returns:
- - a
TeamCompetitorinstance describing the away competitor
-
getTournament
LongTermEvent getTournament()Returns the tournament associated with the current instance (possible types can beBasicTournamentandTournament)- Returns:
- - the tournament associated with the current instance
-
getFixture
Fixture getFixture()Returns theFixtureinstance containing information about the arranged sport event A Fixture is a sport event that has been arranged for a particular time and place- Returns:
- - the
Fixtureinstance containing information about the arranged sport event
-
getEventTimeline
Returns the associatedEventTimeline(NOTICE: the timeline is cached only after the event status indicates that the event has finished)- Parameters:
locale- the locale in which the timeline should be provided- Returns:
- the associated event timeline
-
getEventTimelineIfPresent
Returns the associatedEventTimelineif already cached (does not make API call) (NOTICE: the timeline is cached only after the event status indicates that the event has finished)- Parameters:
locale- the locale in which the timeline should be provided- Returns:
- - a associated
EventTimelineif already cached (does not make API call)
-
getDelayedInfo
DelayedInfo getDelayedInfo()Returns aDelayedInfoinstance describing possible information about a delay- Returns:
- a
DelayedInfoinstance describing information about a possible delay
-
getCoverageInfo
Returns aCoverageInfoinstance- Returns:
- a
CoverageInfoinstance
-
getSport
SportSummary getSport()
-