Builder

data class Builder(var text: String)(source)

Builder for ReadingTimeConfig.

The only required value is the input text. All other fields have defaults.

Constructors

Link copied to clipboard
constructor(text: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var wpm: Int

Functions

Link copied to clipboard

Builds the immutable configuration.

Link copied to clipboard

Excludes images from the reading time calculation when true.

Link copied to clipboard

Adds extra seconds to the computed reading time.

Link copied to clipboard

Sets the suffix used when the reading time is plural.

Link copied to clipboard

Sets the rounding mode applied to the final reading time.

Link copied to clipboard

Sets the suffix appended to the reading time.

Link copied to clipboard

Sets the input text to evaluate.

Link copied to clipboard

Sets the words‑per‑minute reading speed.