Class MatchUpdateEntity

java.lang.Object
com.sportradar.livedata.sdk.feed.livescout.entities.LiveScoutEntityBase
com.sportradar.livedata.sdk.feed.livescout.entities.MatchUpdateEntity
All Implemented Interfaces:
Serializable

public class MatchUpdateEntity extends LiveScoutEntityBase implements Serializable
Match information message. Contains statistical information about a match as well as individual events (e.g. goals, cards, etc.).
See Also:
  • Constructor Details

    • MatchUpdateEntity

      protected MatchUpdateEntity()
      Initializes a new instance of the MatchUpdateEntity class.
  • Method Details

    • getAttacks

      public HomeAway<Integer> getAttacks()
      Gets attacks statistics.
      Returns:
      number of attacks
    • getBlackCards

      public HomeAway<Integer> getBlackCards()
      Gets black cards (badminton).
      Returns:
      number of black cards
    • getCategory

      public IdNameTuple getCategory()
      Gets sport category.
      Returns:
      category
    • getCorners

      public HomeAway<Integer> getCorners()
      Gets corner statistics.
      Returns:
      number of corners
    • getScout

      public ScoutEntity getScout()
      Gets scout entity
      Returns:
      scout entity
    • getCourt

      public CourtEntity getCourt()
      Gets type of court.
      Returns:
      court type
    • getDangerousAttacks

      public HomeAway<Integer> getDangerousAttacks()
      Gets dangerous attack statistics.
      Returns:
      number of dangerous attacks
    • getDirectFoulsPeriod

      public HomeAway<Integer> getDirectFoulsPeriod()
      Gets direct fouls for current period statistics (futsal).
      Returns:
      number of direct fouls for current period
    • getDirectFreeKicks

      public HomeAway<Integer> getDirectFreeKicks()
      Gets direct free kicks statistics (futsal).
      Returns:
      number of direct free kicks
    • getFouls

      public HomeAway<Integer> getFouls()
      Fouls count per team.
      Returns:
      fouls
    • getEventId

      public EventIdentifier getEventId()
      Gets the unique event id.
      Overrides:
      getEventId in class LiveScoutEntityBase
      Returns:
      - an event id or null
    • getEvents

      public List<ScoutEventEntity> getEvents()
      Gets list of scout events.
      Returns:
      list of scout events
    • getFreeKicks

      public HomeAway<Integer> getFreeKicks()
      Gets free kick statistics.
      Returns:
      number of free kicks
    • getFreeThrows

      public HomeAway<Integer> getFreeThrows()
      Gets free throws statistics.
      Returns:
      number of free throws
    • getGoalKicks

      public HomeAway<Integer> getGoalKicks()
      Gets goal kick statistics.
      Returns:
      number of kick on goal
    • getGoalkeeperSaves

      public HomeAway<Integer> getGoalkeeperSaves()
      Gets goalkeeper saves statistics.
      Returns:
      number of goalkeeper saves
    • getIceConditions

      public IceConditions getIceConditions()
      Ice conditons
      Returns:
      ice conditons
    • getInjuries

      public HomeAway<Integer> getInjuries()
      Gets injuries statistics.
      Returns:
      number of injuries
    • getInnings

      public List<InningsEntity> getInnings()
      Returns a List of innings for the current match
      Returns:
      - a List of innings for the current match
    • getKickoffTeam

      public Team getKickoffTeam()
      Gets kickoff team
      Returns:
      kickoff team
    • getKickoffTeamFirstHalf

      public Team getKickoffTeamFirstHalf()
      Gets first half kickoff team
      Returns:
      first half kickoff team
    • getKickoffTeamOt

      public Team getKickoffTeamOt()
      Gets overtime kickoff team
      Returns:
      overtime kickoff team
    • getKickoffTeamSecondHalf

      public Team getKickoffTeamSecondHalf()
      Gets second half kickoff team
      Returns:
      second half kickoff team
    • getMatchFormat

      public List<FormatEntity> getMatchFormat()
      Gets match format
      Returns:
      match format
    • getMatchHeader

      public MatchHeaderEntity getMatchHeader()
      Basic match information.
      Returns:
      match header
    • getMatchStatusId

      public int getMatchStatusId()
      Current match status identifier
      Returns:
      the match status identifier
    • getMatchStatus

      public ScoutMatchStatus getMatchStatus()
      Current match status. Same status codes as in LiveScore.
      Returns:
      match status
    • getMatchStatusStart

      public org.joda.time.DateTime getMatchStatusStart()
      Timestamp for when match status was set in UTC.
      Returns:
      match status start timestamp
    • getOffsides

      public HomeAway<Integer> getOffsides()
      Offside statistics.
      Returns:
      number of offsides
    • getOpeningFaceoff1StPeriod

      public Team getOpeningFaceoff1StPeriod()
      Opening faceoff 1st period
      Returns:
      opening faceoff 1st period
    • getOpeningFaceoff2NdPeriod

      public Team getOpeningFaceoff2NdPeriod()
      Opening faceoff 2nd period
      Returns:
      opening faceoff 2nd period
    • getOpeningFaceoff3RdPeriod

      public Team getOpeningFaceoff3RdPeriod()
      Opening faceoff 3rd period
      Returns:
      opening faceoff 3rd period
    • getOpeningFaceoffOvertime

      public Team getOpeningFaceoffOvertime()
      Opening faceoff overtime
      Returns:
      opening faceoff overtime
    • getPenalties

      public HomeAway<Integer> getPenalties()
      Penalties statistics.
      Returns:
      number of penalties
    • getPitchConditions

      public PitchConditions getPitchConditions()
      Pitch / grass conditions.
      Returns:
      pitch conditions
    • getPossession

      public HomeAway<Integer> getPossession()
      Ball possession statistics.
      Returns:
      ball possession
    • getPossessionTeam

      public Team getPossessionTeam()
      Which team currently has possession of the ball.
      Returns:
      possession team
    • getRedCards

      public HomeAway<Integer> getRedCards()
      Red card statistics.
      Returns:
      number of red cards
    • getScore

      public Map<String,HomeAway<Double>> getScore()
      Deprecated.
      since 1.15.0, use List <ScoreEntity > getScores() instead. It may contain SubScores - i.e. for tennis tie breaks. getScores()
      Match score information.
      Returns:
      scores
    • getScores

      public List<ScoreEntity> getScores()
      Gets the match scores
      Returns:
      the match scores
    • getServe

      public Team getServe()
      Which player/team currently has the serve (tennis, volleyball).
      Returns:
      serving team
    • getShotsBlocked

      public HomeAway<Integer> getShotsBlocked()
      Shots blocked statistics.
      Returns:
      number of blocked shots
    • getShotsOffTarget

      public HomeAway<Integer> getShotsOffTarget()
      Shots off target statistics.
      Returns:
      number of shots off target
    • getShotsOnTarget

      public HomeAway<Integer> getShotsOnTarget()
      Shots on target statistics.
      Returns:
      number of shots on target
    • getSport

      public IdNameTuple getSport()
      Type of sport.
      Returns:
      sport type
    • getSurfaceType

      public SurfaceType getSurfaceType()
      Surface type (tennis).
      Returns:
      surface type
    • getSuspensions

      public SuspensionsEntity getSuspensions()
      Suspensions statistics.
      Returns:
      suspensions statistics
    • getThrowins

      public HomeAway<Integer> getThrowins()
      Throw-in statistics.
      Returns:
      throw-in statistics
    • getTournament

      public IdNameTuple getTournament()
      Sport tournament.
      Returns:
      sport tournament e.g. World Championships 2025
    • getUniqueTournament

      public IdNameTuple getUniqueTournament()
      Sport unique tournament.
      Returns:
      sport unique tournament e.g. World Championships
    • getWeatherConditions

      public WeatherConditions getWeatherConditions()
      Weather conditions.
      Returns:
      weather conditions
    • getYellowCards

      public HomeAway<Integer> getYellowCards()
      Yellow cards statistics.
      Returns:
      number of yellow cards
    • isTieBreak

      public Boolean isTieBreak()
      Whether the match is currently in tie break status (tennis).
      Returns:
      flag is match is currently in tie break status
    • getGold

      public GoldEntity getGold()
    • getNetWorth

      public NetWorthEntity getNetWorth()
      Returns an NetWorthEntity describing the associated event net-worth
      Returns:
      - an NetWorthEntity describing the associated event net-worth
    • getJerseys

      public List<JerseyEntity> getJerseys()
      Returns a list of known jerseys
      Returns:
      a List of known jerseys
    • getGoals

      public GoalsEntity getGoals()
      Returns the goals entity
      Returns:
      the goals entity
    • getBehinds

      public BehindsEntity getBehinds()
      Returns the behinds entity
      Returns:
      the behinds entity
    • getMatchProperties

      public List<MatchPropertyEntity> getMatchProperties()
      Returns the list of match properties
      Returns:
      the list of match properties
    • getMatchTeams

      public List<MatchTeamEntity> getMatchTeams()
      Returns the list of match teams
      Returns:
      the list of match teams
    • getTryCounts

      public Map<ScoutMatchStatus,HomeAway<Integer>> getTryCounts()
      Count the instances of try (1154) event per match phase. Used in Rugby. Possible match phases: period1, period2, overtime1, overtime2, overtime, penalties, sudden death, current.
      Returns:
      map of try counts
    • getSubteams

      public List<SubteamEntity> getSubteams()
      Returns the subteam.
      Returns:
      SubteamEntity