public interface LiveScoutFeedListener extends LiveFeedListener<LiveScoutFeed>
LiveScoutFeed
implementationsModifier and Type | Method and Description |
---|---|
void |
onFullMatchUpdateReceived(LiveScoutFeed sender,
MatchUpdateEntity matchUpdate)
Invoked by the observed
LiveScoutFeed when full match update is received. |
void |
onLineupsReceived(LiveScoutFeed sender,
LineupsEntity lineups)
Invoked by the observed
LiveScoutFeed when player lineups for both teams are received. |
void |
onMatchBooked(LiveScoutFeed sender,
MatchBookingEntity matchBooked)
Invoked by the observed
LiveScoutFeed when a match-booked reply is received. |
void |
onMatchDataReceived(LiveScoutFeed sender,
MatchDataEntity matchData)
Invoked by the observed
LiveScoutFeed when match data is received. |
void |
onMatchDeltaUpdateReceived(LiveScoutFeed sender,
MatchUpdateEntity matchUpdate)
Invoked by the observed
LiveScoutFeed when match delta update is received. |
void |
onMatchDeltaUpdateUpdateReceived(LiveScoutFeed sender,
MatchUpdateEntity matchUpdate)
Invoked by the observed
LiveScoutFeed when match delta update delta message is received. |
void |
onMatchListReceived(LiveScoutFeed sender,
MatchListEntity matchList)
Invoked by the observed
LiveScoutFeed when match list requested by the user is received. |
void |
onMatchListUpdateReceived(LiveScoutFeed sender,
MatchListUpdateEntity matchList)
Invoked by the observed
LiveScoutFeed when an unsolicited match list is received. |
void |
onMatchStopped(LiveScoutFeed sender,
MatchStopEntity matchStop)
Invoked by the observed
LiveScoutFeed after the was un-subscribed from a match or if subscription to a
match failed. |
void |
onMatchUpdateReceived(LiveScoutFeed sender,
MatchUpdateEntity matchUpdate)
Invoked by the observed
LiveScoutFeed when match update message is received. |
void |
onOddsSuggestionReceived(LiveScoutFeed sender,
OddsSuggestionsEntity oddsSuggestions)
Invoked by the observed
LiveScoutFeed when odds suggestions are received. |
void |
onServerTimeReceived(LiveScoutFeed sender,
ServerTimeEntity serverTime)
Server time request response
|
onInitialized
onClosed, onFeedEvent, onOpened
void onFullMatchUpdateReceived(LiveScoutFeed sender, MatchUpdateEntity matchUpdate)
LiveScoutFeed
when full match update is received. For more information see the
onMatchUpdateReceived(LiveScoutFeed, com.sportradar.sdk.feed.livescout.entities.MatchUpdateEntity)
sender
- The LiveScoutFeed
sender of the event.matchUpdate
- The MatchUpdateEntity
representing the received match-update messagevoid onLineupsReceived(LiveScoutFeed sender, LineupsEntity lineups)
LiveScoutFeed
when player lineups for both teams are received.
The event is dispatched immediately after subscribing to a match and every time the lineup changes. XML configuration option "Send lineups for matches where this is available" needs to be activated (currently works just for deep coverage soccer matches).
sender
- The LiveScoutFeed
sender of the event.lineups
- The LineupsEntity
representing the received lineups.void onMatchBooked(LiveScoutFeed sender, MatchBookingEntity matchBooked)
LiveScoutFeed
when a match-booked reply is received. Reply is sent by the
live-scout server when a client books a match. If match booking failed for some reason
(match already booked, match finished etc.), the reply will contain additional explanation.sender
- The LiveScoutFeed
sender of the event.matchBooked
- The MatchBookingEntity
representing the received message.void onMatchDataReceived(LiveScoutFeed sender, MatchDataEntity matchData)
LiveScoutFeed
when match data is received.sender
- The LiveScoutFeed
sender of the event.matchData
- The MatchListEntity
representing the received match data.void onMatchDeltaUpdateReceived(LiveScoutFeed sender, MatchUpdateEntity matchUpdate)
LiveScoutFeed
when match delta update is received. For more information see the
onMatchUpdateReceived(LiveScoutFeed, com.sportradar.sdk.feed.livescout.entities.MatchUpdateEntity)
sender
- The LiveScoutFeed
sender of the event.matchUpdate
- The MatchUpdateEntity
representing the received match-update messagevoid onMatchDeltaUpdateUpdateReceived(LiveScoutFeed sender, MatchUpdateEntity matchUpdate)
LiveScoutFeed
when match delta update delta message is received. For more
information see the onMatchUpdateReceived(LiveScoutFeed, com.sportradar.sdk.feed.livescout.entities.MatchUpdateEntity)
sender
- The LiveScoutFeed
sender of the event.matchUpdate
- The MatchUpdateEntity
representing the received match-update messagevoid onMatchListReceived(LiveScoutFeed sender, MatchListEntity matchList)
LiveScoutFeed
when match list requested by the user is received.sender
- The LiveScoutFeed
sender of the event.matchList
- The MatchListEntity
representing the received match list.void onMatchListUpdateReceived(LiveScoutFeed sender, MatchListUpdateEntity matchList)
LiveScoutFeed
when an unsolicited match list is received.sender
- The LiveScoutFeed
sender of the event.matchList
- MatchListUpdateEntity
representing the received match list.void onMatchStopped(LiveScoutFeed sender, MatchStopEntity matchStop)
LiveScoutFeed
after the was un-subscribed from a match or if subscription to a
match failed.sender
- The LiveScoutFeed
sender of the event.matchStop
- The MatchStopEntity
representing the un-subscription messagevoid onMatchUpdateReceived(LiveScoutFeed sender, MatchUpdateEntity matchUpdate)
LiveScoutFeed
when match update message is received. There are three types of match information messages:
full match feed, delta match feed and delta update feed (see ScoutFeedType
.
All three can contain statistical information as well as individual events (an event being a goal, card, etc.).
When a client application subscribes to a match, it will receive a full match update immediately after (given the subscription was successful). This message will contain all data for the match. Different event types are offered for different sports. Note that new event types will be added in the future.
After a full match update is received, most updates will be sent as delta updates. In these messages only the new data is sent, if a yellow card is given only this event will be sent. In addition summary data will be sent for the event type in question, i.e. the total number of yellow cards for the home/away team for the match.
If an existing event is changed, a delta update is sent for this event. E.g. a yellow card event is entered, and 1 minute later the event is updated by including which player got the card. Client must consider this as an update to an existing event, and not a new event (based on Event Id property).
sender
- The LiveScoutFeed
sender of the event.matchUpdate
- The MatchUpdateEntity
representing the received match-update messagevoid onOddsSuggestionReceived(LiveScoutFeed sender, OddsSuggestionsEntity oddsSuggestions)
LiveScoutFeed
when odds suggestions are received. Suggested live odds are
constantly updated and sent out according to match events. These odds are generated based on statistical models.
The format of Odds entities is the same as with liveodds interface.sender
- The LiveScoutFeed
sender of the event.oddsSuggestions
- The OddsSuggestionsEntity
instance representing the received odds suggestions.void onServerTimeReceived(LiveScoutFeed sender, ServerTimeEntity serverTime)
sender
- The LiveScoutFeed
sender of the event.serverTime
- The ServerTimeEntity
representing the received server time.Copyright © 2013–2023. All rights reserved.