Table of Contents

Interface IEventPlayer

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

Defines a contract implemented by classes representing players or racers in a sport event timeline events

public interface IEventPlayer : IEntityPrinter
Inherited Members

Properties

Bench

Gets the bench value

string Bench { get; }

Property Value

string

The bench value - in case of yellow or red card event, it is relevant to know if the player who is getting the card is sitting on the bench at that exact moment.

Remarks

The attribute is equal to 1 if the player who gets the card is sitting on the bench. In case the player who gets the card is on the field, then the attribute is not added at all.

Id

Gets the Urn uniquely identifying the current IPlayer instance

Urn Id { get; }

Property Value

Urn

Names

Gets a IReadOnlyDictionary<TKey, TValue> containing player names in different languages

IReadOnlyDictionary<CultureInfo, string> Names { get; }

Property Value

IReadOnlyDictionary<CultureInfo, string>

Methods

GetName(CultureInfo)

Gets the name of the player in the specified language or a null reference

string GetName(CultureInfo culture)

Parameters

culture CultureInfo

A CultureInfo specifying the language of the returned name

Returns

string

The name of the player in the specified language or a null reference.