custom

fun custom(duration: Duration): Duration

Creates a custom duration for displaying a nudge.

Return

A Duration instance with the specified duration.

Parameters

duration

The custom kotlin.time.Duration to use.