Click or drag to resize

IOddsFeed Interface

Represent a root object of the unified odds feed

Namespace: Sportradar.OddsFeed.SDK.API
Assembly: Sportradar.OddsFeed.SDK (in Sportradar.OddsFeed.SDK.dll) Version: 1.32.0
Syntax
C#
public interface IOddsFeed : IDisposable

The IOddsFeed type exposes the following members.

Properties
 NameDescription
Public propertyBookingManager Gets a IBookingManager instance used to perform various booking calendar operations
Public propertyBookmakerDetails Gets a IBookmakerDetails instance used to get info about bookmaker and token used
Public propertyCashOutProbabilitiesProvider Gets the ICashOutProbabilitiesProvider instance used to retrieve cash out probabilities for betting markets
Public propertyCustomBetManager Gets a ICustomBetManager instance used to perform various custom bet operations
Public propertyEventChangeManager Gets a IEventChangeManager instance used to automatically receive fixture and result changes
Public propertyEventRecoveryRequestIssuer Gets a IEventRecoveryRequestIssuer instance used to issue recovery requests to the feed
Public propertyMarketDescriptionManager Gets a IMarketDescriptionManager instance used to get info about available markets, and to get translations for markets and outcomes including outrights
Public propertyProducerManager Gets a IProducerManager instance used to retrieve producer related data
Public propertySportDataProvider Gets a ISportDataProvider instance used to retrieve sport related data from the feed
Top
Methods
 NameDescription
Public methodClose Closes the current feed by closing all created sessions and disposing of all resources associated with the current instance
Public methodCreateBuilder Constructs and returns a new instance of IOddsFeedSessionBuilder
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodIsOpen Returns an indicator if the feed instance is opened or not
Public methodOpen Opens the current feed by opening all created sessions
Top
Events
 NameDescription
Public eventClosed Occurs when feed is closed
Public eventConnectionException Occurs when an exception occurs in the connection loop
Public eventDisconnected Raised when the current instance of IOddsFeed loses connection to the feed
Public eventEventRecoveryCompleted Occurs when a requested event recovery completes
Public eventProducerDown Raised when the current IOddsFeed instance determines that the IProducer associated with the odds feed went down
Public eventProducerUp Raised when the current IOddsFeed instance determines that the IProducer associated with the odds feed went up (back online)
Public eventRecoveryInitiated Occurs when a recovery initiation completes
Top
See Also