public interface SportEvent
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getCompetitorStatusAttribute(Competitor competitor,
String name) |
BigDecimal |
getCompetitorStatusAttribute(HomeAway homeAway,
String name)
Get a status/statistics attribute for a competitor for the match.
|
Object |
getEventStatusAttribute(String name)
Get the sport specific named attribute for this sport event
|
Fixture |
getFixture()
Get the Fixture which includes all pregame information (including start time)
|
String |
getId() |
String |
getMatchPeriod() |
String |
getMatchStatusDescription()
A description of the current live match status.
|
String |
getMatchStatusDescription(Locale locale)
A description of the current live match status
|
List<Score> |
getPeriodScores()
Returns the period scores.
|
String |
getPlayedTime() |
String |
getRemainingTime() |
SportEventStatus |
getStatus()
Get the general status of this event (NotStarted/Live/Ended/Finished)
|
String getId()
Fixture getFixture()
SportEventStatus getStatus()
String getMatchPeriod()
String getPlayedTime()
String getRemainingTime()
String getMatchStatusDescription()
String getMatchStatusDescription(Locale locale)
locale
- Object getEventStatusAttribute(String name)
name
- the name of the attribute of interest (supported attributes are tournament
specific) (see the documentation for what names are applicable to what sport)
currently supported names: match_status, current_server, tiebreak, balls, bases,
current_ctteam, delivery, innings, position, possession, remaining_reds, strikes,
throw, try, visit, yardsBigDecimal getCompetitorStatusAttribute(HomeAway homeAway, String name)
homeAway
- Set to Home if the home team attribute should be returned otherwise Awayname
- the name of the attribute of interest (supported attributes are tournament
specific) (see the documentation for what names are applicable to what sport)
currently supported names: score, gamescore, batter, dismissals, legscore,
penalty_runs, remaining_bowls, suspend, yellow_cards, corners, red_cards,
yellowred_cardsBigDecimal getCompetitorStatusAttribute(Competitor competitor, String name)
Copyright © 2016–2017. All rights reserved.