Companion

object Companion

Properties

Link copied to clipboard
const val TIMEOUT_INFINITE: Long = 0

Constant representing infinite timeout (no maximum time).

Functions

Link copied to clipboard
fun expiresAfter(timeoutSeconds: Long): TimeBounds

A factory method that sets maxTime to the specified seconds from now.

A factory method that sets maxTime to the specified duration from now.

Link copied to clipboard
fun fromXdr(timeBounds: TimeBoundsXdr?): TimeBounds?

Construct a new TimeBounds object from a TimeBoundsXdr XDR object.