timeRemaining

abstract fun timeRemaining(): Long

Returns the time remaining in seconds for this Expiry before it will expire.

For special cases, this value will be negative. For specific times in the future, this value will be:

  • positive when not expired

  • negative when expired

Return

The expiry time associated with this Expiry