Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Angle : Quantity<Angle, Angle.Unit>

A quantity describing an angle. (For example, 90 degrees.)

Link copied to clipboard
actual typealias CommonShareableAnnotation = Parcelize
@Target(allowedTargets = [AnnotationTarget.CLASS])
expect annotation class CommonShareableAnnotation
@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class CommonShareableAnnotation
Link copied to clipboard
expect interface CommonShareableBase
Link copied to clipboard
@Serializable
data class Distance : Quantity<Distance, Distance.Unit>

A quantity describing a distance. (For example, 10 kilometers.)

Link copied to clipboard
@Serializable
data class Duration : Quantity<Duration, Duration.Unit>

A quantity describing a duration. (For example, 10 seconds.)

Link copied to clipboard

A quantity describing an electric current. (For example, 10 amperes.)

Link copied to clipboard
@Serializable
data class Energy : Quantity<Energy, Energy.Unit>

A quantity describing energy. (For example, 10 kilowatt-hours.)

Link copied to clipboard
@Serializable
data class Force : Quantity<Force, Force.Unit>

A quantity describing force. (For example, 10 newtons.)

Link copied to clipboard

A quantity describing the fuel consumption. (For example, 5 liters per 100 kilometers.)

Link copied to clipboard
@Serializable
data class Power : Quantity<Power, Power.Unit>

A quantity describing power. (For example, 10 kilowatts.)

Link copied to clipboard
@Serializable
data class Probability : Quantity<Probability, Probability.Unit>

A quantity describing probability. (For example, 10%.)

Link copied to clipboard

A base interface for quantities. Outlines the common operations to retrieve values and perform mathematical operations.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class Speed : Quantity<Speed, Speed.Unit>

A quantity describing speed. (For example, 10 kilometers per hour.)

Link copied to clipboard
@Serializable
data class Temperature : Quantity<Temperature, Temperature.Unit>

A quantity describing temperature. (For example, 21 degrees Celsius.)

Link copied to clipboard
@Serializable
data class Voltage : Quantity<Voltage, Voltage.Unit>

A quantity describing voltage. (For example, 10 volts.)

Link copied to clipboard
@Serializable
data class Weight : Quantity<Weight, Weight.Unit>

A quantity describing weight. (For example, 10 kilograms.)