Weather.Attribute

enum Weather.Attribute : Enum, Field


Descriptor enum for this trait's attributes.

Summary

Enum Values

currentConditions

The current weather conditions.

dailyForecastConditionsList

10 days of daily forecasted weather conditions.

hourlyForecastConditionsList

12 hours of hourly forecasted weather conditions.

lastUpdateTimeEpochSeconds

Epoch time in seconds of last update for any of the weather data.

missingStructureLocation

True if the user's home does not have address information in the system.

weatherProvider

The source of the weather data.

Public functions

Weather.Attribute
valueOf(value: String)

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

Array<Weather.Attribute>

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

Public properties

open Descriptor
EnumEntries<Weather.Attribute>

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

open String
open Boolean
Boolean
open UInt
open Type
open String

Enum Values

currentConditions

val Weather.Attribute.currentConditionsWeather.Attribute

The current weather conditions.

dailyForecastConditionsList

val Weather.Attribute.dailyForecastConditionsListWeather.Attribute

10 days of daily forecasted weather conditions. Index 0 is the forecast for the current day. For example, if it's currently Tuesday at 16:32, index 0 is the forecast for Tuesday.

hourlyForecastConditionsList

val Weather.Attribute.hourlyForecastConditionsListWeather.Attribute

12 hours of hourly forecasted weather conditions. Index 0 is the forecast for the current hour. For example, if it's currently 16:32, index 0 is the forecast for 16:00-17:00.

lastUpdateTimeEpochSeconds

val Weather.Attribute.lastUpdateTimeEpochSecondsWeather.Attribute

Epoch time in seconds of last update for any of the weather data.

missingStructureLocation

val Weather.Attribute.missingStructureLocationWeather.Attribute

True if the user's home does not have address information in the system.

weatherProvider

val Weather.Attribute.weatherProviderWeather.Attribute

The source of the weather data. This is used for displaying attribution in the UI.

Public functions

valueOf

fun valueOf(value: String): Weather.Attribute

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<Weather.Attribute>

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

descriptor

open val descriptorDescriptor

entries

val entriesEnumEntries<Weather.Attribute>

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.

fieldName

open val fieldNameString

isList

open val isListBoolean

isNullable

val isNullableBoolean

tag

open val tagUInt

typeEnum

open val typeEnumType

typeName

open val typeNameString