Interface ICashOutProbabilitiesProvider
- Namespace
- Sportradar.OddsFeed.SDK.Api.Managers
- Assembly
- Sportradar.OddsFeed.SDK.dll
Defines a type used to retrieve market probabilities used for cash out
public interface ICashOutProbabilitiesProvider
Methods
GetCashOutProbabilitiesAsync<T>(Urn, CultureInfo)
Asynchronously gets the cash out probabilities for the specified sport event.
Task<ICashOutProbabilities<T>> GetCashOutProbabilitiesAsync<T>(Urn eventId, CultureInfo culture = null) where T : ISportEvent
Parameters
eventIdUrnThe Urn uniquely identifying the sport event.
cultureCultureInfoA CultureInfo specifying the language of the returned data, or a null reference to use default languages
Returns
- Task<ICashOutProbabilities<T>>
A Task<TResult> representing the asynchronous operation.
Type Parameters
TThe type of the sport event
GetCashOutProbabilitiesAsync<T>(Urn, int, IReadOnlyDictionary<string, string>, CultureInfo)
Asynchronously gets the cash out probabilities for the specified market on the specified sport event.
Task<ICashOutProbabilities<T>> GetCashOutProbabilitiesAsync<T>(Urn eventId, int marketId, IReadOnlyDictionary<string, string> specifiers, CultureInfo culture = null) where T : ISportEvent
Parameters
eventIdUrnThe Urn uniquely identifying the sport event.
marketIdintThe id of the market for which to get the probabilities.
specifiersIReadOnlyDictionary<string, string>A IDictionary<TKey, TValue> containing market specifiers or a null reference if market has no specifiers.
cultureCultureInfoA CultureInfo specifying the language of the returned data, or a null reference to use default languages
Returns
- Task<ICashOutProbabilities<T>>
A Task<TResult> representing the asynchronous operation.
Type Parameters
TThe type of the sport event