Interface CompetitionCi
- All Superinterfaces:
CacheItem,SportEventCi
Defines methods used to access competition type data
-
Method Summary
Modifier and TypeMethodDescriptionvoidFetch aSportEventStatusDtovia event summaryReturns aBookingStatusenum member providing booking status of the current instancegetCompetitorIds(List<Locale> locales) Returns aListof competitor identifiers that participate in the sport event associated with the current instancegetConditions(List<Locale> locales) Returns aSportEventConditionsCiinstance representing live conditions of the sport event associated with the current instancegetLiveOdds(List<Locale> locales) Returns the liveOddsgetSportEventType(List<Locale> locales) Returns aSportEventTypeindicating the type of the associated eventReturns aVenueCiinstance representing a venue where the sport event associated with the current instance will take placevoidMethod that gets triggered when the associated event gets booked through theBookingManagerMethods inherited from interface com.sportradar.unifiedodds.sdk.internal.caching.CacheItem
getId, getNames, hasTranslationsLoadedFor, mergeMethods inherited from interface com.sportradar.unifiedodds.sdk.internal.caching.SportEventCi
getReplacedBy, getScheduled, getScheduledEnd, getScheduledEndRaw, getScheduledRaw, isStartTimeTbd
-
Method Details
-
getBookingStatus
BookingStatus getBookingStatus()Returns aBookingStatusenum member providing booking status of the current instance- Returns:
- a
BookingStatusenum member providing booking status of the current instance
-
getCompetitorIds
Returns aListof competitor identifiers that participate in the sport event associated with the current instance -
getVenue
Returns aVenueCiinstance representing a venue where the sport event associated with the current instance will take place -
getConditions
Returns aSportEventConditionsCiinstance representing live conditions of the sport event associated with the current instance- Parameters:
locales- aListofLocalespecifying the languages to which the returned instance should be translated- Returns:
- a
SportEventConditionsCiinstance representing live conditions of the sport event associated with the current instance
-
fetchSportEventStatus
void fetchSportEventStatus()Fetch aSportEventStatusDtovia event summary -
onEventBooked
void onEventBooked()Method that gets triggered when the associated event gets booked through theBookingManager -
getCompetitorsReferences
Map<Urn,ReferenceIdCi> getCompetitorsReferences()- Returns:
- list of
UrnofCompetitorand associatedReferencefor this sport event
-
getLiveOdds
Returns the liveOdds- Parameters:
locales- theLocales in which the data should be provided- Returns:
- the liveOdds
-
getSportEventType
Returns aSportEventTypeindicating the type of the associated event- Parameters:
locales- theLocales in which the data should be provided- Returns:
- a
SportEventTypeindicating the type of the associated event
-