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.API (in Sportradar.OddsFeed.SDK.API.dll) Version: 1.59.0.0 (1.59.0.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 propertyCashOutProbabilitiesProvider Gets the ICashOutProbabilitiesProvider instance used to retrieve cash out probabilities for betting markets
Public propertyEventRecoveryRequestIssuer Gets a IEventRecoveryRequestIssuer instance used to issue recovery requests to the feed
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 methodOpen Opens the current feed by opening all created sessions
Top
Events
 NameDescription
Public eventClosed Occurs when feed is closed
Public eventDisconnected Raised when the current instance of IOddsFeed loses connection to the feed
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)
Top
See Also