Class MatchHeaderEntity
java.lang.Object
com.sportradar.livedata.sdk.feed.livescout.entities.MatchHeaderEntity
- All Implemented Interfaces:
 Serializable
Provides basic match information
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionWhether market is open or closed.Whether scout is currently connected or not.Returns the id of the coverage status for the associated matchWhether the match is covered from TV or venue.DeviceDistance between teams in km.Return latency enum value.Integer specifying special information for the match.Whether this is a full, delta or deltaupdate message.Which player / team has first serve of match (tennis).Which player / team has first serve of golden setWhich player / team has first serve in tie-break (tennis).longMatch Id.Match time, mm:ss (e.g.Number of sets in match (tennis).Too big feed can be split if such configuration is activated in LiveData.Gets number of points needed to win a setgetSex()Gender (sex) of the player / team.Customer matchid.Returns the sport idgetSt1Id()Betradar super team id for team 1.getSt2Id()Betradar super team id for team 2.org.joda.time.DateTimegetStart()Official match start time, as a timestamp in UTC.getSTime()getTeam1()Betradar team 1 (home team).Gets team 1 abbreviationGets team 1 divisionReturns the team 1 (home team) neutral namegetTeam2()Betradar team 2 (away team).Gets team 2 abbreviationGets team 2 divisionReturns the team 2 (away team) neutral nameShows whether order not confirmed or reversedgetVar()getVenue()Which team won jump ball at the start of the match.isActive()Is match active?isBooked()Whether the match is booked by the client.Whether this is a deep coverage match.booleanisRts()Whether this is a rts match.Last set has tie break.Whether time/clock is running/active or not. 
- 
Constructor Details
- 
MatchHeaderEntity
protected MatchHeaderEntity()For Serializable 
 - 
 - 
Method Details
- 
getBetStatus
Whether market is open or closed.- Returns:
 - bet status
 
 - 
getConnectionStatus
Whether scout is currently connected or not.- Returns:
 - connection status
 
 - 
getCoveredFrom
Whether the match is covered from TV or venue.- Returns:
 - coverage
 
 - 
getDevice
Device- Returns:
 - device
 
 - 
getDistance
Distance between teams in km.- Returns:
 - distance between teams in km
 
 - 
getTeamsReversed
Shows whether order not confirmed or reversed- Returns:
 - teams reversed
 
 - 
getExtraInfo
Integer specifying special information for the match. Can be one of the following:- 1 – Soccer match played 2*40 minutes (+2*10 minutes extra time)
 - 2 – Tennis no advantage rule, super tie break to 10 points
 - 3 – Tennis no advantage rule, super tie break to 7 points
 - 4 – Tennis no advantage rule, no super tie break
 - 5 – Tennis advantage rule, super tie break to 10 points
 - 6 – Tennis advantage rule, super tie break to 7 points
 - 7 – Basketball 12 minute periods
 - 8 – Volleyball best of 3 sets
 - 9 - Soccer match played 2*35 minutes (+2* 5 minutes extra time)
 - 10 - Soccer match played 2*30 minutes (+2* 5 minutes extra time)
 - 11 - Soccer match played 2*25 minutes (+2* 5 minutes extra time)
 - 12 - Ice hockey 10 minutes extra time periods
 - 13 - Ice hockey 20 minutes extra time periods
 - 14 – Futsal match played 2*25 minutes (+2* 5 minutes extra time)
 
- Returns:
 - extra info
 
 - 
getFeedType
Whether this is a full, delta or deltaupdate message.- Returns:
 - feed type
 
 - 
getFirstServe
Which player / team has first serve of match (tennis).- Returns:
 - player / team that has first serve of match
 
 - 
getFirstServeGoldenSet
Which player / team has first serve of golden set- Returns:
 - player / team that has first serve of golden set
 
 - 
getFirstServeTieBreak
Which player / team has first serve in tie-break (tennis).- Returns:
 - player / team that has first serve in tie-break
 
 - 
getMatchId
public long getMatchId()Match Id.- Returns:
 - match id
 
 - 
getMatchTime
Match time, mm:ss (e.g. 40:00 or 00:00).- Returns:
 - match time
 
 - 
getNumberOfSets
Number of sets in match (tennis).- Returns:
 - number of sets
 
 - 
getSetLimit
Gets number of points needed to win a set- Returns:
 - number of points needed to win a set
 
 - 
getSex
Gender (sex) of the player / team.- Returns:
 - player/team gender
 
 - 
getSourceId
Customer matchid. Included if set up and if available for this match. Contact Sportradar in order to include this in the scout feed- Returns:
 - customer match id
 
 - 
getCoverageStatusId
Returns the id of the coverage status for the associated match- Returns:
 - - if available, the id of the coverage status for the associated match; otherwise null
 
 - 
getSt1Id
Betradar super team id for team 1.Note: Super team is the parent a certain team derives from. New sponsor might completely change the name of the team no matter it is actually the same thing.
- Returns:
 - team 1 super id
 
 - 
getSt2Id
Betradar super team id for team 2.Note: Super team is the parent a certain team derives from. New sponsor might completely change the name of the team no matter it is actually the same thing.
- Returns:
 - team 2 super id
 
 - 
getStart
public org.joda.time.DateTime getStart()Official match start time, as a timestamp in UTC.- Returns:
 - match start time
 
 - 
getTeam1
Betradar team 1 (home team).- Returns:
 - home team
 
 - 
getTeam1Abbreviation
Gets team 1 abbreviation- Returns:
 - team 1 abbreviation
 
 - 
getTeam1Division
Gets team 1 division- Returns:
 - team 1 division
 
 - 
getTeam1Neutral
Returns the team 1 (home team) neutral name- Returns:
 - the team 1 (home team) neutral name
 
 - 
getTeam2
Betradar team 2 (away team).- Returns:
 - away team
 
 - 
getTeam2Abbreviation
Gets team 2 abbreviation- Returns:
 - team 2 abbreviation
 
 - 
getTeam2Division
Gets team 2 division- Returns:
 - team 2 division
 
 - 
getTeam2Neutral
Returns the team 2 (away team) neutral name- Returns:
 - the team 2 (away team) neutral name
 
 - 
getWonJumpBall
Which team won jump ball at the start of the match.- Returns:
 - team which won the jump ball
 
 - 
getSportId
Returns the sport id- Returns:
 - the sport id
 
 - 
isActive
Is match active?- Returns:
 - true if this match is active
 
 - 
isBooked
Whether the match is booked by the client.- Returns:
 - true if this match is booked
 
 - 
isDeepCoverage
Whether this is a deep coverage match.- Returns:
 - true if this match has deep coverage
 
 - 
isRts
public boolean isRts()Whether this is a rts match.- Returns:
 - true if this is a rts match
 
 - 
isTieBreakLastSet
Last set has tie break.- Returns:
 - true if last set has tie break
 
 - 
isTimeRunning
Whether time/clock is running/active or not.- Returns:
 - true if time is running
 
 - 
getExtMatchId
 - 
getVar
 - 
isTeamMatch
 - 
getTeamMatchId
 - 
isCancelled
 - 
getSTime
 - 
getVbpClassification
 - 
getHomeState
 - 
getAwayState
 - 
getVenue
 - 
getRegion
 - 
getPagination
Too big feed can be split if such configuration is activated in LiveData.- Returns:
 PaginationEntity
 - 
getExpectedLatencyLevel
Return latency enum value. If not available, returnwith value and name taken from feed.invalid reference
LatencyLevel#INVALIDholding only latest unexpected value and name.invalid reference
LatencyLevel#INVALID- Returns:
 LatencyLevel
 
 -