Table of Contents

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

IBookingManager

BookmakerDetails

Gets a IBookmakerDetails instance used to get info about bookmaker and token used

IBookmakerDetails BookmakerDetails { get; }

Property Value

IBookmakerDetails

CashOutProbabilitiesProvider

Gets the ICashOutProbabilitiesProvider instance used to retrieve cash out probabilities for betting markets

ICashOutProbabilitiesProvider CashOutProbabilitiesProvider { get; }

Property Value

ICashOutProbabilitiesProvider

CustomBetManager

Gets a ICustomBetManager instance used to perform various custom bet operations

ICustomBetManager CustomBetManager { get; }

Property Value

ICustomBetManager

EventChangeManager

Gets a IEventChangeManager instance used to automatically receive fixture and result changes

IEventChangeManager EventChangeManager { get; }

Property Value

IEventChangeManager

EventRecoveryRequestIssuer

Gets a IEventRecoveryRequestIssuer instance used to issue recovery requests to the feed

IEventRecoveryRequestIssuer EventRecoveryRequestIssuer { get; }

Property Value

IEventRecoveryRequestIssuer

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

IMarketDescriptionManager

ProducerManager

Gets a IProducerManager instance used to retrieve producer related data

IProducerManager ProducerManager { get; }

Property Value

IProducerManager

SportDataProvider

Gets a ISportDataProvider instance used to retrieve sport related data from the feed

ISportDataProvider SportDataProvider { get; }

Property Value

ISportDataProvider

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

EventHandler<FeedCloseEventArgs>

ConnectionException

Occurs when an exception occurs in the connection loop

event EventHandler<ConnectionExceptionEventArgs> ConnectionException

Event Type

EventHandler<ConnectionExceptionEventArgs>

Disconnected

Raised when the current instance of IUofSdk loses connection to the feed

event EventHandler<EventArgs> Disconnected

Event Type

EventHandler<EventArgs>

EventRecoveryCompleted

Occurs when a requested event recovery completes

event EventHandler<EventRecoveryCompletedEventArgs> EventRecoveryCompleted

Event Type

EventHandler<EventRecoveryCompletedEventArgs>

ProducerDown

Raised when the current IUofSdk instance determines that the IProducer associated with the odds feed went down

event EventHandler<ProducerStatusChangeEventArgs> ProducerDown

Event Type

EventHandler<ProducerStatusChangeEventArgs>

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

EventHandler<ProducerStatusChangeEventArgs>

RecoveryInitiated

Occurs when a recovery initiation completes

event EventHandler<RecoveryInitiatedEventArgs> RecoveryInitiated

Event Type

EventHandler<RecoveryInitiatedEventArgs>