Interface RtpPlayerState


public interface RtpPlayerState
  • Method Details

    • getPlayerId

      UUID getPlayerId()
      Gets the player.
      Returns:
      the player UUID
    • isRtpInProgress

      boolean isRtpInProgress()
      Checks if an RTP is running for the player.
      Returns:
      true if in progress
    • isOnCooldown

      boolean isOnCooldown()
      Checks if the player is on cooldown.
      Returns:
      true if on cooldown
    • getRemainingCooldownSeconds

      long getRemainingCooldownSeconds()
      Gets remaining cooldown in seconds, 0 if none.
      Returns:
      remaining seconds
    • getLastRtpTimestamp

      long getLastRtpTimestamp()
      Gets the last completed RTP, in millis.
      Returns:
      last RTP time in millis
    • getTotalRtpCount

      int getTotalRtpCount()
      Gets the lifetime RTP count.
      Returns:
      total RTPs
    • hasPendingWarmup

      boolean hasPendingWarmup()
      Checks if the player has a warmup pending.
      Returns:
      true if warming up