Class MatchStatusImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.status.CompetitionStatusImpl
com.sportradar.unifiedodds.sdk.internal.impl.entities.status.MatchStatusImpl
- All Implemented Interfaces:
CompetitionStatus,MatchStatus
Provides methods used to access match status information
-
Constructor Summary
ConstructorsConstructorDescriptionMatchStatusImpl(SportEventStatusCi statusCi, LocalizedNamedValueCache matchStatuses) -
Method Summary
Modifier and TypeMethodDescriptionGet the penalty score of the away competitor competing on the associated sport event (for Ice Hockey)Returns the score of the away competitor competing on the associated sport eventReturns anEventClockinstance describing the timings in the current eventGet the penalty score of the home competitor competing on the associated sport event (for Ice Hockey)Returns the score of the home competitor competing on the associated sport eventReturns the match status translated in the default localegetMatchStatus(Locale locale) Returns the match status translated in the specified languageintReturns the match status idReturns aListof period scoresReturns the statistics of the associated matchReturns an indication if the status is decided by fedMethods inherited from class com.sportradar.unifiedodds.sdk.internal.impl.entities.status.CompetitionStatusImpl
getEventResults, getPeriodOfLadder, getProperties, getPropertyValue, getReportingStatus, getStatus, getWinnerId, toKeyValueStore, tryGetPropertyValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sportradar.unifiedodds.sdk.entities.status.CompetitionStatus
getEventResults, getPeriodOfLadder, getProperties, getPropertyValue, getReportingStatus, getStatus, getWinnerId, toKeyValueStore, tryGetPropertyValue
-
Constructor Details
-
MatchStatusImpl
-
-
Method Details
-
getEventClock
Returns anEventClockinstance describing the timings in the current event- Specified by:
getEventClockin interfaceMatchStatus- Returns:
- an
EventClockinstance describing the timings in the current event
-
getPeriodScores
Returns aListof period scores- Specified by:
getPeriodScoresin interfaceMatchStatus- Returns:
- a
Listof period scores
-
getMatchStatusId
public int getMatchStatusId()Returns the match status id- Specified by:
getMatchStatusIdin interfaceMatchStatus- Returns:
- the match status id
-
getMatchStatus
Returns the match status translated in the default locale- Specified by:
getMatchStatusin interfaceMatchStatus- Returns:
- the match status translated in the default locale
-
getMatchStatus
Returns the match status translated in the specified language- Specified by:
getMatchStatusin interfaceMatchStatus- Parameters:
locale- aLocalespecifying the language of the status- Returns:
- the match status translated in the specified language
-
getHomeScore
Returns the score of the home competitor competing on the associated sport event- Specified by:
getHomeScorein interfaceMatchStatus- Returns:
- the score of the home competitor competing on the associated sport event
-
getAwayScore
Returns the score of the away competitor competing on the associated sport event- Specified by:
getAwayScorein interfaceMatchStatus- Returns:
- the score of the away competitor competing on the associated sport event
-
getStatistics
Returns the statistics of the associated match- Specified by:
getStatisticsin interfaceMatchStatus- Returns:
- the statistics of the associated match
-
getHomePenaltyScore
Get the penalty score of the home competitor competing on the associated sport event (for Ice Hockey)- Specified by:
getHomePenaltyScorein interfaceMatchStatus- Returns:
- value of home penalty score
-
getAwayPenaltyScore
Get the penalty score of the away competitor competing on the associated sport event (for Ice Hockey)- Specified by:
getAwayPenaltyScorein interfaceMatchStatus- Returns:
- value of away penalty score
-
isDecidedByFed
Returns an indication if the status is decided by fed- Specified by:
isDecidedByFedin interfaceMatchStatus- Returns:
- boolean value
-