public interface LiveOddsBaseUserRequestManager extends UserRequestManager
Modifier and Type | Method and Description |
---|---|
long |
getEventList(org.joda.time.DateTime from,
org.joda.time.DateTime to,
boolean includeAvailable)
Retrieves an event list
|
long |
getEventMessages(EventIdentifier eventId,
long from,
long to,
boolean pack)
Retrieves specified messages for the match specified by the
eventId |
long |
getEventMeta(EventIdentifier[] eventIds)
Retrieves meta information for given events.
|
long |
getEventsStatus(Collection<EventIdentifier> eventIds,
org.joda.time.DateTime time,
boolean pack)
Retrieves the status of the events specified by the
eventIds from live-odds server. |
long |
getEventStatus(EventIdentifier eventId,
org.joda.time.DateTime time,
boolean pack)
Retrieves the status of the event specified by the
eventId from live-odds server |
void |
setListener(com.sportradar.sdk.feed.liveodds.interfaces.LiveOddsUserRequestManagerListener listener)
Sets the
LiveOddsUserRequestManagerListener used to observe current LiveOddsUserRequestManager |
bookMatches, getSubscribedEvents, getTestManager, subscribe, unsubscribe
void setListener(com.sportradar.sdk.feed.liveodds.interfaces.LiveOddsUserRequestManagerListener listener)
LiveOddsUserRequestManagerListener
used to observe current LiveOddsUserRequestManager
listener
- the LiveOddsUserRequestManagerListener
used to observe current LiveOddsUserRequestManager
long getEventList(org.joda.time.DateTime from, org.joda.time.DateTime to, boolean includeAvailable)
from
- - from timestampto
- - to timestampincludeAvailable
- - when true include also those that you have not booked (but are available)long getEventMessages(EventIdentifier eventId, long from, long to, boolean pack)
eventId
eventId
- Specifies the match for which the messages will be retrieved.from
- Specifies the minimum sequence number of retrieved messages.to
- Specifies the maximum sequence number of retrieved messages.pack
- Specifies whether all messages should be packed in the EventDataPackage
instance.long getEventMeta(EventIdentifier[] eventIds)
eventIds
- - event idslong getEventStatus(EventIdentifier eventId, org.joda.time.DateTime time, boolean pack)
eventId
from live-odds servereventId
- Specified the match for which the current status will be retrieved.time
- Specifies the time for which to retrieve the status.pack
- Specifies whether all messages should pa packaged in the EventDataPackage
instance.long getEventsStatus(Collection<EventIdentifier> eventIds, org.joda.time.DateTime time, boolean pack)
eventIds
from live-odds server.
Max supported is 50 event ids per requesteventIds
- Specified the matches for which the current status will be retrieved.time
- Specifies the time for which to retrieve the status.pack
- Specifies whether all messages should pa packaged in the EventDataPackage
instance.Copyright © 2013–2023. All rights reserved.