DurationConfig

constructor(timeFormat: DurationFormat = DurationFormat.MM_SS, @IntRange(from = 0) currentTime: Long? = null, @IntRange(from = 0) minTime: Long = 0, @IntRange(from = 1) maxTime: Long = Long.MAX_VALUE, displayClearButton: Boolean = false, icons: LibIcons = BaseConstants.DEFAULT_ICON_STYLE, orientation: LibOrientation? = BaseConstants.DEFAULT_LIB_LAYOUT)

Parameters

timeFormat

Available color selection modes. If null, both are used.

currentTime

Current time in seconds.

minTime

Minimum time.

maxTime

Maximum time.

displayClearButton

Replaces the "00" Value-Button with a button to clear all values.

icons

The style of icons that are used for dialog/ view-specific icons.

orientation

The orientation of the view or null for auto orientation.