ClockConfig

data class ClockConfig(val defaultTime: LocalTime? = null, val boundary: ClosedRange<LocalTime>? = null, val is24HourFormat: Boolean? = null, val icons: LibIcons = BaseConstants.DEFAULT_ICON_STYLE, val orientation: LibOrientation? = BaseConstants.DEFAULT_LIB_LAYOUT) : BaseConfigs

The general configuration for the clock dialog.

Parameters

defaultTime

The default time.

boundary

Optional ClosedRange of LocalTime representing the time boundary

is24HourFormat

If the 24HourFormat is enabled.

icons

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

orientation

The orientation of the view or null for auto orientation.

Constructors

Link copied to clipboard
constructor(defaultTime: LocalTime? = null, boundary: ClosedRange<LocalTime>? = null, is24HourFormat: Boolean? = null, icons: LibIcons = BaseConstants.DEFAULT_ICON_STYLE, orientation: LibOrientation? = BaseConstants.DEFAULT_LIB_LAYOUT)

Properties

Link copied to clipboard
Link copied to clipboard
val defaultTime: LocalTime? = null
Link copied to clipboard
open override val icons: LibIcons
Link copied to clipboard
val is24HourFormat: Boolean? = null
Link copied to clipboard
open override val orientation: LibOrientation?