Interface IUofSdk
- Namespace
- Sportradar.OddsFeed.SDK.Api
- Assembly
- Sportradar.OddsFeed.SDK.dll
Represent a root object of the unified odds sdk
public interface IUofSdk : IDisposable
- Inherited Members
Properties
BookingManager
Gets a IBookingManager instance used to perform various booking calendar operations
IBookingManager BookingManager { get; }
Property Value
BookmakerDetails
Gets a IBookmakerDetails instance used to get info about bookmaker and token used
IBookmakerDetails BookmakerDetails { get; }
Property Value
CashOutProbabilitiesProvider
Gets the ICashOutProbabilitiesProvider instance used to retrieve cash out probabilities for betting markets
ICashOutProbabilitiesProvider CashOutProbabilitiesProvider { get; }
Property Value
CustomBetManager
Gets a ICustomBetManager instance used to perform various custom bet operations
ICustomBetManager CustomBetManager { get; }
Property Value
EventChangeManager
Gets a IEventChangeManager instance used to automatically receive fixture and result changes
IEventChangeManager EventChangeManager { get; }
Property Value
EventRecoveryRequestIssuer
Gets a IEventRecoveryRequestIssuer instance used to issue recovery requests to the feed
IEventRecoveryRequestIssuer EventRecoveryRequestIssuer { get; }
Property Value
MarketDescriptionManager
Gets a IMarketDescriptionManager instance used to get info about available markets, and to get translations for markets and outcomes including outrights
IMarketDescriptionManager MarketDescriptionManager { get; }
Property Value
ProducerManager
Gets a IProducerManager instance used to retrieve producer related data
IProducerManager ProducerManager { get; }
Property Value
SportDataProvider
Gets a ISportDataProvider instance used to retrieve sport related data from the feed
ISportDataProvider SportDataProvider { get; }
Property Value
Methods
Close()
Closes the current feed by closing all created sessions and disposing of all resources associated with the current instance
void Close()
GetSessionBuilder()
Constructs and returns a new instance of IUofSessionBuilder
IUofSessionBuilder GetSessionBuilder()
Returns
- IUofSessionBuilder
Constructed instance of the IUofSessionBuilder
IsOpen()
Returns an indicator if the feed instance is opened or not
bool IsOpen()
Returns
- bool
Returns true if the sdk is opened, otherwise false
Open()
Opens the current feed by opening all created sessions
void Open()
Events
Closed
Occurs when feed is closed
event EventHandler<FeedCloseEventArgs> Closed
Event Type
ConnectionException
Occurs when an exception occurs in the connection loop
event EventHandler<ConnectionExceptionEventArgs> ConnectionException
Event Type
Disconnected
Raised when the current instance of IUofSdk loses connection to the feed
event EventHandler<EventArgs> Disconnected
Event Type
EventRecoveryCompleted
Occurs when a requested event recovery completes
event EventHandler<EventRecoveryCompletedEventArgs> EventRecoveryCompleted
Event Type
ProducerDown
Raised when the current IUofSdk instance determines that the IProducer associated with the odds feed went down
event EventHandler<ProducerStatusChangeEventArgs> ProducerDown
Event Type
ProducerUp
Raised when the current IUofSdk instance determines that the IProducer associated with the odds feed went up (back online)
event EventHandler<ProducerStatusChangeEventArgs> ProducerUp
Event Type
RecoveryInitiated
Occurs when a recovery initiation completes
event EventHandler<RecoveryInitiatedEventArgs> RecoveryInitiated