Interface EventPlayer

All Superinterfaces:
Player
All Known Implementing Classes:
EventPlayerImpl

public interface EventPlayer extends Player
An interface providing methods to access player details for timeline event
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the bench value 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.

    Methods inherited from interface com.sportradar.unifiedodds.sdk.entities.Player

    getId, getName, getNames
  • Method Details

    • getBench

      String getBench()
      Returns the bench value 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. 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.
      Returns:
      - the bench value