Table of Contents

Interface ICompetition

Namespace
Sportradar.OddsFeed.SDK.Entities.Rest
Assembly
Sportradar.OddsFeed.SDK.dll

Defines a contract implemented by classes representing sport events regardless to which sport they belong

public interface ICompetition : ISportEvent
Inherited Members

Methods

GetBookingStatusAsync()

Asynchronously gets a BookingStatus enum member providing booking status for the associated entity or a null reference if booking status is not known

Task<BookingStatus?> GetBookingStatusAsync()

Returns

Task<BookingStatus?>

Returns a BookingStatus enum member providing booking status for the associated entity or a null reference if booking status is not known

GetCompetitorsAsync()

Asynchronously gets a IEnumerable<T> representing competitors in the sport event associated with the current instance

Task<IEnumerable<ICompetitor>> GetCompetitorsAsync()

Returns

Task<IEnumerable<ICompetitor>>

A Task<TResult> representing the retrieval operation

GetCompetitorsAsync(CultureInfo)

Asynchronously gets a IEnumerable<T> representing competitors in the sport event associated with the current instance

Task<IEnumerable<ICompetitor>> GetCompetitorsAsync(CultureInfo culture)

Parameters

culture CultureInfo

The culture in which we want to return competitor data

Returns

Task<IEnumerable<ICompetitor>>

A Task<TResult> representing the retrieval operation

GetConditionsAsync()

Asynchronously gets a ISportEventConditions instance representing live conditions of the sport event associated with the current instance

Task<ISportEventConditions> GetConditionsAsync()

Returns

Task<ISportEventConditions>

A Task<TResult> representing the retrieval operation

Remarks

A Fixture is a sport event that has been arranged for a particular time and place

GetEventStatusAsync()

Gets the event status asynchronous

Task<EventStatus?> GetEventStatusAsync()

Returns

Task<EventStatus?>

Get the event status

GetLiveOddsAsync()

Asynchronously gets a liveOdds

Task<string> GetLiveOddsAsync()

Returns

Task<string>

A liveOdds

GetSportEventTypeAsync()

Asynchronously gets a SportEventType for the associated sport event.

Task<SportEventType?> GetSportEventTypeAsync()

Returns

Task<SportEventType?>

A SportEventType for the associated sport event.

GetStatusAsync()

Gets a ICompetitionStatus instance containing information about the progress of a sport event associated with the current instance

Task<ICompetitionStatus> GetStatusAsync()

Returns

Task<ICompetitionStatus>

A ICompetitionStatus instance containing information about the progress of the sport event

GetVenueAsync()

Asynchronously gets a IVenue instance representing a venue where the sport event associated with the current instance will take place

Task<IVenue> GetVenueAsync()

Returns

Task<IVenue>

A Task<TResult> representing the retrieval operation