Interface MatchCi
- All Superinterfaces:
CacheItem,CompetitionCi,SportEventCi
Defines methods used to access match type properties
-
Method Summary
Modifier and TypeMethodDescriptionReturns list ofUrnofCompetitorCiand associated division for this sport eventReturns list ofUrnofCompetitorand associated qualifier for this sport eventgetCoverageInfo(List<Locale> locales) Returns aCoverageInfoinstancegetDelayedInfo(List<Locale> locales) Returns aDelayedInfoCiinstance describing possible information about a delaygetEventTimeline(Locale locale, boolean makeApiCall) Returns the associated event timeline (the timeline is cached only after the event status indicates that the event has finished)getFixture(List<Locale> locales) 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 aMapof translated sport event names The match object name is composed from the home and away team(eg.Returns aSeasonCiinstance providing basic information about the season to which the sport event associated with the current instance belongs toReturns theUrnspecifying the id of the tournament to which the sport event belongs togetTournamentRound(List<Locale> locales) Returns aRoundCiinstance describing the tournament round to which the sport event associated with current instance belongs tovoidrequestMissingSummaryData(List<Locale> requiredLocales, boolean forceFetch, RequestOptions requestOptions) Request Summary API Call and store its result to the cacheMethods inherited from interface com.sportradar.unifiedodds.sdk.internal.caching.CacheItem
getId, hasTranslationsLoadedFor, mergeMethods inherited from interface com.sportradar.unifiedodds.sdk.internal.caching.CompetitionCi
fetchSportEventStatus, getBookingStatus, getCompetitorIds, getCompetitorsReferences, getConditions, getLiveOdds, getSportEventType, getVenue, onEventBookedMethods inherited from interface com.sportradar.unifiedodds.sdk.internal.caching.SportEventCi
getReplacedBy, getScheduled, getScheduledEnd, getScheduledEndRaw, getScheduledRaw, isStartTimeTbd
-
Method Details
-
getNames
Returns aMapof translated sport event names The match object name is composed from the home and away team(eg. Home vs Away) -
getTournamentId
Urn getTournamentId()Returns theUrnspecifying the id of the tournament to which the sport event belongs to- Returns:
- - the
Urnspecifying the id of the tournament to which the sport event belongs to
-
getTournamentRound
Returns aRoundCiinstance describing the tournament round to which the sport event associated with current instance belongs to -
getSeason
Returns aSeasonCiinstance providing basic information about the season to which the sport event associated with the current instance belongs to -
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 -
getDelayedInfo
Returns aDelayedInfoCiinstance describing possible information about a delay- Parameters:
locales- theLocales in which the data should be provided- Returns:
- a
DelayedInfoCiinstance describing information about a possible delay
-
getCoverageInfo
Returns aCoverageInfoinstance- Parameters:
locales- theLocales in which the data should be provided- Returns:
- a
CoverageInfoinstance
-
getEventTimeline
Returns the associated event timeline (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 providedmakeApiCall- should the API call be made if necessary- Returns:
- the associated event timeline
-
getCompetitorsQualifiers
Returns list ofUrnofCompetitorand associated qualifier for this sport event- Returns:
- list of
UrnofCompetitorand associated qualifier for this sport event
-
getCompetitorsDivisions
Returns list ofUrnofCompetitorCiand associated division for this sport event- Returns:
- list of
UrnofCompetitorCiand associated division for this sport event
-
requestMissingSummaryData
void requestMissingSummaryData(List<Locale> requiredLocales, boolean forceFetch, RequestOptions requestOptions) Request Summary API Call and store its result to the cache- Parameters:
requiredLocales- theListofLocales in which the data should be providedforceFetch- if set to true, the data will be fetched from the API even if it is already cachedrequestOptions- theRequestOptionsused to specify the execution path
-