BaseUnit

enum BaseUnit : Enum


Represents the base unit of a measurement.

Summary

Public functions

BaseUnit
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<BaseUnit>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

EnumEntries<BaseUnit>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Int

Enum Values

AIR_QUALITY_INDEX

val BaseUnit.AIR_QUALITY_INDEXBaseUnit

AMPERE

val BaseUnit.AMPEREBaseUnit

AMPERE_HOUR

val BaseUnit.AMPERE_HOURBaseUnit

BECQUEREL_PER_CUBIC_METER

val BaseUnit.BECQUEREL_PER_CUBIC_METERBaseUnit

CELSIUS

val BaseUnit.CELSIUSBaseUnit

CUBIC_METERS_PER_HOUR

val BaseUnit.CUBIC_METERS_PER_HOURBaseUnit

DEGREES

val BaseUnit.DEGREESBaseUnit

HERTZ

val BaseUnit.HERTZBaseUnit

HOUR

val BaseUnit.HOURBaseUnit

KELVIN

val BaseUnit.KELVINBaseUnit

KG_PER_CUBIC_METER

val BaseUnit.KG_PER_CUBIC_METERBaseUnit

KILOMETERS

val BaseUnit.KILOMETERSBaseUnit

KILOMETERS_PER_HOUR

val BaseUnit.KILOMETERS_PER_HOURBaseUnit

KM_PER_KWH

val BaseUnit.KM_PER_KWHBaseUnit

LUX_LOG10

val BaseUnit.LUX_LOG10BaseUnit

MATTER_EPOCH_SECOND

val BaseUnit.MATTER_EPOCH_SECONDBaseUnit

METERS

val BaseUnit.METERSBaseUnit

MINUTE

val BaseUnit.MINUTEBaseUnit

MIRED

val BaseUnit.MIREDBaseUnit

PARTICLES_PER_CUBIC_METER

val BaseUnit.PARTICLES_PER_CUBIC_METERBaseUnit

PARTS_PER_MILLION

val BaseUnit.PARTS_PER_MILLIONBaseUnit

PASCALS

val BaseUnit.PASCALSBaseUnit

PERCENT

val BaseUnit.PERCENTBaseUnit

ROTATIONS_PER_MINUTE

val BaseUnit.ROTATIONS_PER_MINUTEBaseUnit

SECONDS

val BaseUnit.SECONDSBaseUnit

VOLT

val BaseUnit.VOLTBaseUnit

WATT

val BaseUnit.WATTBaseUnit

WATT_HOUR

val BaseUnit.WATT_HOURBaseUnit

Public functions

valueOf

fun valueOf(value: String): BaseUnit

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<BaseUnit>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

entries

val entriesEnumEntries<BaseUnit>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

tagId

val tagIdInt