Interface IMatch
- Namespace
- Sportradar.OddsFeed.SDK.Entities.Rest
- Assembly
- Sportradar.OddsFeed.SDK.dll
Defines a contract implemented by classes representing sport events of match type
public interface IMatch : ICompetition, ISportEvent
- Inherited Members
Methods
GetAwayCompetitorAsync()
Asynchronously gets a ITeamCompetitor representing away competitor of the match associated with the current instance
Task<ITeamCompetitor> GetAwayCompetitorAsync()
Returns
- Task<ITeamCompetitor>
A Task<TResult> representing the retrieval operation
GetCoverageInfoAsync()
Asynchronously gets the associated coverage info
Task<ICoverageInfo> GetCoverageInfoAsync()
Returns
- Task<ICoverageInfo>
A Task<TResult> representing the retrieval operation
GetDelayedInfoAsync()
Asynchronously gets the associated delayed info
Task<IDelayedInfo> GetDelayedInfoAsync()
Returns
- Task<IDelayedInfo>
A Task<TResult> representing the retrieval operation
GetEventTimelineAsync()
Asynchronously gets the associated event timeline
Task<IEventTimeline> GetEventTimelineAsync()
Returns
- Task<IEventTimeline>
A Task<TResult> representing the retrieval operation
Remarks
Makes calls to timeline API endpoint for all specified cultures in config
GetEventTimelineAsync(CultureInfo)
Asynchronously gets the associated event timeline for single culture
Task<IEventTimeline> GetEventTimelineAsync(CultureInfo culture)
Parameters
cultureCultureInfoThe languages to which the returned instance should be translated
Returns
- Task<IEventTimeline>
A Task<TResult> representing the retrieval operation
Remarks
Recommended to be used when only IEventTimeline is needed for this IMatch
GetFixtureAsync()
Asynchronously gets a IFixture instance containing information about the arranged sport event
Task<IFixture> GetFixtureAsync()
Returns
- Task<IFixture>
A Task<TResult> representing the retrieval operation
Remarks
A Fixture is a sport event that has been arranged for a particular time and place
GetHomeCompetitorAsync()
Asynchronously gets a ITeamCompetitor representing home competitor of the match associated with the current instance
Task<ITeamCompetitor> GetHomeCompetitorAsync()
Returns
- Task<ITeamCompetitor>
A Task<TResult> representing the retrieval operation
GetSeasonAsync()
Asynchronously gets a ISeasonInfo representing the season to which the sport event associated with the current instance belongs to
Task<ISeasonInfo> GetSeasonAsync()
Returns
- Task<ISeasonInfo>
A Task<TResult> representing the retrieval operation
GetStatusAsync()
Asynchronously gets a IMatchStatus containing information about the progress of the match
Task<IMatchStatus> GetStatusAsync()
Returns
- Task<IMatchStatus>
A Task<TResult> containing information about the progress of the match
GetTournamentAsync()
Asynchronously gets a ILongTermEvent representing the season to which the sport event associated with the current instance belongs to
Task<ILongTermEvent> GetTournamentAsync()
Returns
- Task<ILongTermEvent>
A Task<TResult> representing the retrieval operation
GetTournamentRoundAsync()
Asynchronously gets a IRound representing the tournament round to which the sport event associated with the current instance belongs to
Task<IRound> GetTournamentRoundAsync()
Returns
- Task<IRound>
A Task<TResult> representing the retrieval operation