Table of Contents

Interface ISportEventStatus

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

Defines a contract implemented by classes representing the status of a sport event

public interface ISportEventStatus

Properties

AwayScore

Gets the score of the away competitor competing on the associated sport event

decimal? AwayScore { get; }

Property Value

decimal?

HomeScore

Gets the score of the home competitor competing on the associated sport event

decimal? HomeScore { get; }

Property Value

decimal?

IsReported

Gets a value indicating whether a data journalist is present in the associated sport event, or a null reference if the information is not available

int? IsReported { get; }

Property Value

int?

Properties

Gets a IReadOnlyDictionary<TKey, TValue> containing additional event status values

IReadOnlyDictionary<string, object> Properties { get; }

Property Value

IReadOnlyDictionary<string, object>

a IReadOnlyDictionary<TKey, TValue> containing additional event status values

Remarks

List of possible keys:

  • AggregateAwayScore
  • AggregateHomeScore
  • AggregateWinnerId
  • AwayBatter
  • AwayDismissals
  • AwayGameScore
  • AwayLegScore
  • AwayPenaltyRuns
  • AwayRemainingBowls
  • AwayScore
  • AwaySuspend
  • Balls
  • Bases
  • Clock_MatchTime
  • Clock_RemainingTime
  • Clock_RemainingTimeInPeriod
  • Clock_StoppageTime
  • Clock_StoppageTimeAnnounced
  • Clock_Stopped
  • Clock{ClockNumber}_MatchTime
  • Clock{ClockNumber}_StoppageTime
  • Clock{ClockNumber}_StoppageTimeAnnounced
  • CurrentCtTeam
  • CurrentEnd
  • CurrentServer
  • DecidedByFed
  • Delivery
  • ExpeditedMode
  • HomeBatter
  • HomeDismissals
  • HomeGameScore
  • HomeLegScore
  • HomePenaltyRuns
  • HomeRemainingBowls
  • HomeScore
  • HomeSuspend
  • Innings
  • Outs
  • Over
  • Period
  • PeriodScore{PeriodScoreNumber}_AwayScore
  • PeriodScore{PeriodScoreNumber}_HomeScore
  • PeriodScore{PeriodScoreNumber}_MatchStatusCode
  • PeriodScore{PeriodScoreNumber}_Number
  • Position
  • Possession
  • RemainingReds
  • Reporting
  • Result{ResultNumber}_AwayScore
  • Result{ResultNumber}_Climber
  • Result{ResultNumber}_ClimberRanking
  • Result{ResultNumber}_HomeScore
  • Result{ResultNumber}_Id
  • Result{ResultNumber}_MatchStatusCode
  • Result{ResultNumber}_Points
  • Result{ResultNumber}_Sprint
  • Result{ResultNumber}_SprintRanking
  • Result{ResultNumber}_Status
  • Result{ResultNumber}_StatusComment
  • Result{ResultNumber}_Time
  • Result{ResultNumber}_TimeRanking
  • Status
  • Strikes
  • Throw
  • Tiebreak
  • Try
  • Visit
  • WinnerId
  • WinningReason
  • Yards

Status

Gets a EventStatus describing the high-level status of the associated sport event

EventStatus Status { get; }

Property Value

EventStatus

Methods

GetMatchStatusAsync()

Gets the match status for specific locale

Task<ILocalizedNamedValue> GetMatchStatusAsync()

Returns

Task<ILocalizedNamedValue>

Returns the match status for specific locale

GetPropertyValue(string)

Gets the value of the property specified by it's name

object GetPropertyValue(string propertyName)

Parameters

propertyName string

The name of the property

Returns

object

A object representation of the value of the specified property, or a null reference if the value of the specified property was not specified