displayDurationMs

fun displayDurationMs(nowMs: Long = System.currentTimeMillis()): Long

Effective display duration (millis) from now: the smaller of the local cap (MAX_DISPLAY_MS) and the time remaining until expiresAtMs.