updateDuration

open fun updateDuration(duration: Long)

Updates the duration of this block. This block must only be updated when isDynamic returns true.

Note: The default implementation does nothing. It can be overridden to provide the desired implementation.

Parameters

duration

the new duration