Modifier and Type | Method and Description |
---|---|
boolean |
BookingManager.bookLiveOddsEvent(URN eventId)
Performs a request on the API which books the event associated with the provided
URN identifier |
boolean |
BookingManagerImpl.bookLiveOddsEvent(URN eventId)
Performs a request on the API which books the event associated with the provided
URN identifier |
Selection |
CustomBetSelectionBuilderImpl.build(URN eventId,
int marketId,
String specifiers,
String outcomeId) |
Selection |
CustomBetSelectionBuilder.build(URN eventId,
int marketId,
String specifiers,
String outcomeId)
Builds and returns a
Selection instance |
CategorySummary |
SportEntityFactory.buildCategory(URN id,
List<Locale> locales)
Builds the associated category summary
|
Competitor |
SportEntityFactory.buildCompetitor(URN id,
String qualifier,
Integer division,
Boolean isVirtual,
com.sportradar.unifiedodds.sdk.caching.SportEventCI parentSportEventCI,
List<Locale> locales)
Builds a
Competitor instance associated with the provided URN |
PlayerProfile |
SportEntityFactory.buildPlayerProfile(URN id,
List<Locale> locales,
List<URN> possibleAssociatedCompetitorIds) |
Sport |
SportEntityFactory.buildSport(URN sportId,
List<Locale> locales)
Builds a
Sport instance with the provided data |
SportEvent |
SportEntityFactory.buildSportEvent(URN id,
List<Locale> locales,
boolean buildBasicEventImpl)
Builds the
Competition derived class based on the provided data |
SportEvent |
SportEntityFactory.buildSportEvent(URN id,
URN sportId,
List<Locale> locales,
boolean buildBasicEventImpl)
Builds the
SportEvent derived class based on the provided data |
SportSummary |
SportEntityFactory.buildSportForCategory(URN categoryId,
List<Locale> locales)
Builds the associated category sport summary
|
AvailableSelections |
CustomBetManager.getAvailableSelections(URN eventId)
Returns an
AvailableSelections instance providing the available selections
for the event associated with the provided URN identifier |
AvailableSelections |
CustomBetManagerImpl.getAvailableSelections(URN eventId) |
default List<SportEvent> |
SportsInfoManager.getAvailableTournaments(URN sportId)
Returns all the available tournaments for a specific sport
(the returned data is translated in the default locale configured with the
OddsFeedConfiguration )
(possible types: BasicTournament , Tournament , Stage ) |
default List<SportEvent> |
SportsInfoManager.getAvailableTournaments(URN sportId,
Locale locale)
Returns all the available tournaments for a specific sport
(the returned data is translated in the specified
Locale )
(possible types: BasicTournament , Tournament , Stage ) |
<T extends SportEvent> |
CashOutProbabilitiesManager.getCashOutProbabilities(URN eventId)
Returns a
CashOutProbabilities instance providing the cashout probabilities for the specified event
(the provided data is translated in the default language) |
<T extends SportEvent> |
CashOutProbabilitiesManager.getCashOutProbabilities(URN eventId,
int marketId,
Map<String,String> specifiers)
Returns a
CashOutProbabilities instance providing the cashout probabilities for the specified market on the associated event
(the provided data is translated in the default language) |
<T extends SportEvent> |
CashOutProbabilitiesManager.getCashOutProbabilities(URN eventId,
int marketId,
Map<String,String> specifiers,
Locale locale)
Returns a
CashOutProbabilities instance providing the cashout probabilities for the specified market on the associated event |
<T extends SportEvent> |
CashOutProbabilitiesManager.getCashOutProbabilities(URN eventId,
Locale locale)
Returns a
CashOutProbabilities instance providing the cashout probabilities for the specified event |
Competition |
SportsInfoManager.getCompetition(URN id)
Returns a
Competition representing the specified competition
(the returned data is translated in the configured Locale s using the OddsFeedConfiguration ) |
Competition |
SportsInfoManager.getCompetition(URN id,
Locale locale)
Returns a
Competition representing the specified competition
(the returned data is translated in the specified Locale ) |
Competitor |
SportsInfoManager.getCompetitor(URN id)
Returns a
Competitor representing the specified competitor
(the returned data is translated in the configured Locale s using the OddsFeedConfiguration ) |
Competitor |
SportsInfoManager.getCompetitor(URN id,
Locale locale)
Returns a
Competitor representing the specified competitor
(the returned data is translated in the specified Locale ) |
default List<FixtureChange> |
SportsInfoManager.getFixtureChanges(Date after,
URN sportId)
Returns the list of all fixtures that have changed in the last 24 hours
|
default List<FixtureChange> |
SportsInfoManager.getFixtureChanges(Date after,
URN sportId,
Locale locale)
Returns the list of all fixtures that have changed in the last 24 hours
|
LongTermEvent |
SportsInfoManager.getLongTermEvent(URN id)
Returns the specified long term event
(the returned data is translated in the configured
Locale s using the OddsFeedConfiguration ) |
LongTermEvent |
SportsInfoManager.getLongTermEvent(URN id,
Locale locale)
Returns the specified long term event
(the returned data is translated in the specified
Locale ) |
default List<PeriodStatus> |
SportsInfoManager.getPeriodStatuses(URN id,
Locale locale,
List<URN> competitorIds,
List<Integer> periods)
Returns the list of
PeriodStatus from the sport event period summary endpoint |
PlayerProfile |
SportsInfoManager.getPlayerProfile(URN id)
Returns a
PlayerProfile representing the specified competitor
(the returned data is translated in the configured Locale s using the OddsFeedConfiguration ) |
PlayerProfile |
SportsInfoManager.getPlayerProfile(URN id,
Locale locale)
Returns a
PlayerProfile representing the specified competitor
(the returned data is translated in the specified Locale ) |
default List<ResultChange> |
SportsInfoManager.getResultChanges(Date after,
URN sportId)
Returns the list of all fixtures that have changed in the last 24 hours
|
default List<ResultChange> |
SportsInfoManager.getResultChanges(Date after,
URN sportId,
Locale locale)
Returns the list of all fixtures that have changed in the last 24 hours
|
SportEvent |
SportsInfoManager.getSportEvent(URN id)
Returns the specified sport event
(the returned data is translated in the configured
Locale s using the OddsFeedConfiguration ) |
SportEvent |
SportsInfoManager.getSportEvent(URN id,
Locale locale)
Returns the specified sport event
(the returned data is translated in the specified
Locale ) |
default List<TimelineEvent> |
SportsInfoManager.getTimelineEvents(URN id,
Locale locale)
Returns the list of
TimelineEvent for the sport event |
Long |
EventRecoveryRequestIssuer.initiateEventOddsMessagesRecovery(Producer producer,
URN eventId)
Initiates a odds recovery procedure for the event associated with the provided
URN identifier on the requested Producer
(The odds recovery procedure re-sends all odds for all markets for a sport event)
Note: The event must be either EventStatus.NotStarted or EventStatus.Live |
Long |
EventRecoveryRequestIssuer.initiateEventStatefulMessagesRecovery(Producer producer,
URN eventId)
Initiates a stateful recovery procedure for the event associated with the provided
URN identifier on the requested Producer
(The stateful message recovery procedure re-sends all stateful-messages (BetSettlement, RollbackBetSettlement, BetCancel, UndoBetCancel) for a sport event)
Note: The event can be up to 30 days in the past |
void |
SDKEventRecoveryStatusListener.onEventRecoveryCompleted(URN eventId,
long requestId)
Method invoked when a requested event recovery completes
|
void |
EventChangeListener.onFixtureChange(URN eventId,
Date updated,
SportEvent sportEvent)
Method invoked for new fixture change
|
void |
EventChangeListener.onResultChange(URN eventId,
Date updated,
SportEvent sportEvent)
Method invoked for new result change
|
void |
SportsInfoManager.purgeCompetitorProfileCacheData(URN competitorId)
Purges the associated competitor cache item
|
void |
SportsInfoManager.purgePlayerProfileCacheData(URN playerId)
Purges the associated player profile cache item
|
void |
SportsInfoManager.purgeSportEventCacheData(URN eventId)
Purges the associated sport event cache item
|
void |
SportsInfoManager.purgeSportEventCacheData(URN eventId,
boolean includeStatusPurge)
Purges the associated sport event cache item
|
CustomBetSelectionBuilder |
CustomBetSelectionBuilderImpl.setEventId(URN eventId) |
CustomBetSelectionBuilder |
CustomBetSelectionBuilder.setEventId(URN eventId)
Sets event id to the provided
URN |
default OddsFeedSessionBuilder |
OddsFeedSessionBuilder.setSpecificEventsOnly(URN specificEventsOnly) |
Modifier and Type | Method and Description |
---|---|
PlayerProfile |
SportEntityFactory.buildPlayerProfile(URN id,
List<Locale> locales,
List<URN> possibleAssociatedCompetitorIds) |
List<Competition> |
SportEntityFactory.buildSportEvents(List<URN> ids,
List<Locale> locales)
Builds a list of
Competition derived classes based on the provided data |
List<Competitor> |
SportEntityFactory.buildStreamCompetitors(List<URN> competitorIds,
com.sportradar.unifiedodds.sdk.caching.SportEventCI parentSportEventCI,
List<Locale> locales)
Builds a
List of Competitor instances
Notice: a StreamWrapperException is thrown if any problems are encountered |
default List<PeriodStatus> |
SportsInfoManager.getPeriodStatuses(URN id,
Locale locale,
List<URN> competitorIds,
List<Integer> periods)
Returns the list of
PeriodStatus from the sport event period summary endpoint |
default OddsFeedSessionBuilder |
OddsFeedSessionBuilder.setSpecificEventsOnly(Set<URN> specificEventsOnly) |
Modifier and Type | Method and Description |
---|---|
URN |
AvailableSelections.getEvent()
Returns the
URN of the event |
URN |
AvailableSelectionsFilter.getEvent()
Returns the
URN of the event |
URN |
Selection.getEventId()
Gets the event id
|
Modifier and Type | Method and Description |
---|---|
default URN |
Round.getGroupId()
Returns the id of the group associated with the current round
|
URN |
ChildRace.getId()
Returns a
URN instance representing the id uniquely identifying the race represented by the current instance |
URN |
SeasonInfo.getId()
Returns a
URN uniquely identifying the current SeasonInfo instance |
URN |
SportSummary.getId()
Returns an
URN uniquely identifying the sport represented by the current instance |
URN |
SportEvent.getId()
Returns an
URN uniquely identifying the tournament associated with the current instance |
URN |
Player.getId()
|
URN |
CategorySummary.getId()
Returns an
URN uniquely identifying the current CategorySummary instance |
URN |
PeriodCompetitorResult.getId()
Returns the competitor id
|
URN |
TournamentInfo.getId()
Returns the
URN uniquely identifying the tournament |
URN |
CurrentSeasonInfo.getId()
Returns the
URN uniquely identifying the current season |
URN |
Venue.getId()
|
URN |
Manager.getId()
Returns the manager identifier
|
URN |
ReplaySportEvent.getId()
Returns an
URN uniquely identifying the sport event |
URN |
Referee.getId()
Returns the unique identifier of the current
Referee instance |
URN |
Pitcher.getId()
Returns the unique identifier of the current
Pitcher instance |
default URN |
Fixture.getParentStageId()
Returns an id of the parent stage associated with the current instance
|
URN |
RaceDriverProfile.getRaceDriverId()
Returns the race driver id
|
URN |
RaceDriverProfile.getRaceTeamId()
Returns the race team id
|
URN |
Fixture.getReplacedBy()
Returns the
URN identifier of the replacement event |
default URN |
SportEvent.getReplacedBy()
Returns the
URN specifying the replacement sport event for the current instance |
URN |
SeasonCoverage.getSeasonId()
Returns the unique identifier of the season
|
URN |
FixtureChange.getSportEventId()
Returns the
URN instance specifying the sport event |
URN |
ResultChange.getSportEventId()
Returns the
URN instance specifying the sport event |
URN |
SportEvent.getSportId()
Returns the unique sport identifier to which this event is associated
|
default URN |
SeasonInfo.getTournamentId()
Returns the associated tournament identifier
|
Modifier and Type | Method and Description |
---|---|
default List<URN> |
Fixture.getAdditionalParentsIds()
Returns the list specifying the additional parent ids associated with the current instance
|
Modifier and Type | Method and Description |
---|---|
URN |
MarketMappingData.getSportId()
The sport id for which the mapping data is valid
|
Modifier and Type | Method and Description |
---|---|
boolean |
MarketMappingData.canMap(int producerId,
URN sportId,
Map<String,String> specifiers)
Indicates if the mapping data is usable with the provided values
|
Modifier and Type | Method and Description |
---|---|
URN |
CompetitionStatus.getWinnerId()
Returns the sport event winner identifier
|
Modifier and Type | Method and Description |
---|---|
URN |
RecoveryInitiated.getEventId()
Gets the associated event identifier
|
Modifier and Type | Method and Description |
---|---|
boolean |
ReplayManager.addSportEventToReplay(URN id)
Add a SportEvent to the list of SportEvents whose recorded messages will be replayed.
|
boolean |
ReplayManager.addSportEventToReplay(URN id,
Integer startTime)
Add a SportEvent to the list of SportEvents whose recorded messages will be replayed.
|
boolean |
ReplayManager.removeSportEventFromReplay(URN id)
Removes a sport event from the replay list
|
Modifier and Type | Method and Description |
---|---|
static URN |
URN.parse(String urnString)
|
Modifier and Type | Method and Description |
---|---|
static Map<URN,com.sportradar.unifiedodds.sdk.caching.ci.ReferenceIdCI> |
SdkHelper.parseCompetitorsReferences(List<com.sportradar.uf.sportsapi.datamodel.SAPITeam> competitors,
Map<URN,com.sportradar.unifiedodds.sdk.caching.ci.ReferenceIdCI> currentCompetitorsReferences)
Get competitor reference from a list of competitors
Note: reference must be checked and updated, since it is not sure that references on summary are the same as on fixture
|
static Map<URN,com.sportradar.unifiedodds.sdk.caching.ci.ReferenceIdCI> |
SdkHelper.parseTeamCompetitorsReferences(List<com.sportradar.uf.sportsapi.datamodel.SAPITeamCompetitor> competitors,
Map<URN,com.sportradar.unifiedodds.sdk.caching.ci.ReferenceIdCI> currentCompetitorsReferences)
Get competitor reference from a list of competitors
Note: reference must be checked and updated, since it is not sure that references on summary are the same as on fixture
|
Modifier and Type | Method and Description |
---|---|
static Map<URN,com.sportradar.unifiedodds.sdk.caching.ci.ReferenceIdCI> |
SdkHelper.parseCompetitorsReferences(List<com.sportradar.uf.sportsapi.datamodel.SAPITeam> competitors,
Map<URN,com.sportradar.unifiedodds.sdk.caching.ci.ReferenceIdCI> currentCompetitorsReferences)
Get competitor reference from a list of competitors
Note: reference must be checked and updated, since it is not sure that references on summary are the same as on fixture
|
static Map<URN,com.sportradar.unifiedodds.sdk.caching.ci.ReferenceIdCI> |
SdkHelper.parseTeamCompetitorsReferences(List<com.sportradar.uf.sportsapi.datamodel.SAPITeamCompetitor> competitors,
Map<URN,com.sportradar.unifiedodds.sdk.caching.ci.ReferenceIdCI> currentCompetitorsReferences)
Get competitor reference from a list of competitors
Note: reference must be checked and updated, since it is not sure that references on summary are the same as on fixture
|
Copyright © 2016–2023. All rights reserved.