Interface PlayerProfileCi
- All Superinterfaces:
CacheItem
Defines methods used to access cached player data
-
Method Summary
Modifier and TypeMethodDescriptiongetAbbreviations(List<Locale> locales) Returns theMapcontaining translated abbreviations of the playerGet the list of cached localesGet the competitor id this player belongs toReturns aStringrepresentation of a country codeReturns theDatespecifying the date of birth of the player associated with the current instancegetFullNames(List<Locale> locales) Returns theMapcontaining translated full names of the playerGet the gender of the playerReturns the height in centimeters of the player represented by the current instance or a null reference if height is not knownReturns the player jersey numbergetNationalities(List<Locale> locales) Returns theMapcontaining translated nationalities of the playerReturns the player nicknamegetType()Returns the value describing the type(e.g.Returns the weight in kilograms of the player represented by the current instance or a null reference if weight is not known<T> voidMethods inherited from interface com.sportradar.unifiedodds.sdk.internal.caching.CacheItem
getId, getNames, hasTranslationsLoadedFor, merge
-
Method Details
-
getFullNames
Returns theMapcontaining translated full names of the player -
getNationalities
Returns theMapcontaining translated nationalities of the player -
getType
String getType()Returns the value describing the type(e.g. forward, defense, ...) of the player represented by current instance- Returns:
- - the value describing the type(e.g. forward, defense, ...) of the player represented by current instance
-
getDateOfBirth
Date getDateOfBirth()Returns theDatespecifying the date of birth of the player associated with the current instance- Returns:
- - the
Datespecifying the date of birth of the player associated with the current instance
-
getHeight
Integer getHeight()Returns the height in centimeters of the player represented by the current instance or a null reference if height is not known- Returns:
- - the height in centimeters of the player represented by the current instance or a null reference if height is not known
-
getWeight
Integer getWeight()Returns the weight in kilograms of the player represented by the current instance or a null reference if weight is not known- Returns:
- - the weight in kilograms of the player represented by the current instance or a null reference if weight is not known
-
getCountryCode
String getCountryCode()Returns aStringrepresentation of a country code- Returns:
- - a
Stringrepresentation of a country code
-
getJerseyNumber
Integer getJerseyNumber()Returns the player jersey number- Returns:
- the jersey number if available; otherwise null
-
getNickname
String getNickname()Returns the player nickname- Returns:
- the player nickname if available; otherwise null
-
getAbbreviations
Returns theMapcontaining translated abbreviations of the player -
getGender
String getGender()Get the gender of the player- Returns:
- the gender
-
getCompetitorId
Urn getCompetitorId()Get the competitor id this player belongs to- Returns:
- the competitor id this player belongs to
-
merge
-
getCachedLocales
Get the list of cached locales- Returns:
- the list of cached locales
-