Other Enumerations

The following enumerations are available globally.

  • Units of measurement for weather data.

    • AWFMeasurementNone: No unit of measurement
    • AWFMeasurementTemperature: Temperature measurement
    • AWFMeasurementDistance: Distance measurement
    • AWFMeasurementSpeed: Speed measurement
    • AWFMeasurementSize: Size measurement
    • AWFMeasurementDepth: Depth measurement
    • AWFMeasurementAccumulation: Accumulation measurement
    • AWFMeasurementProbability: Probability measurement
    • AWFMeasurementPressure: Pressure Measurement
    • AWFMeasurementAmperage: Electrical Amp Measurement

    Declaration

    Objective-C

    enum AWFMeasurement : NSUInteger {}

    Swift

    enum AWFMeasurement : UInt, @unchecked Sendable
  • The supported weather data types.

    • AWFWeatherDataTypeNone: Invalid data type
    • AWFWeatherDataTypeWeather: Weather data type
    • AWFWeatherDataTypeSkyCover: Sky cover data type
    • AWFWeatherDataTypeLight: Daylight data type
    • AWFWeatherDataTypeVisibility: Visibility data type
    • AWFWeatherDataTypeTemperature: Temperature data type
    • AWFWeatherDataTypeMaxTemperature: Maximum temperature data type
    • AWFWeatherDataTypeMinTemperature: Minimum temperature data type
    • AWFWeatherDataTypeAverageTemperature: Average temperature data type
    • AWFWeatherDataTypeDewPoint: Dew point data type
    • AWFWeatherDataTypeHumidity: Humidity data type
    • AWFWeatherDataTypeWindSpeed: Wind speed data type
    • AWFWeatherDataTypeWindGust: Wind gust data type
    • AWFWeatherDataTypePressure: Barometric pressure data type
    • AWFWeatherDataTypePrecipitation: Precipitation data type
    • AWFWeatherDataTypeAccumulatedPrecipitation: Accumulated precipitation data type
    • AWFWeatherDataTypeSnowfall: Snowfall data type
    • AWFWeatherDataTypeAccumulatedSnowfall: Accumulated snowfall data type
    • AWFWeatherDataTypeSnowDepth: Snow depth data type
    • AWFWeatherDataTypePOP: Probability of precipitation (POP) data type
    • AWFWeatherDataTypeSolarRadiation: Solar radiation data type
    • AWFWeatherDataTypeFeelsLike: Feels like data type
    • AWFWeatherDataTypeWindChill: Wind chill data type
    • AWFWeatherDataTypeHeatIndex: Heat index data type
    • AWFWeatherDataTypeLightningPeakAmperage: Lightning peak amperage data type
    • AWFWeatherDataTypeLightningPeakPositiveAmperage: Lightning peak positive polarity amperage data type
    • AWFWeatherDataTypeLightningPeakNegativeAmperage: Lightning peak negative polarity amperage data type
    • AWFWeatherDataTypeLightningSensorCount: Lightning sensor count data type

    Declaration

    Objective-C

    enum AWFWeatherDataType : NSUInteger {}

    Swift

    enum AWFWeatherDataType : UInt, @unchecked Sendable
  • The sorting codes to use for a request’s sort direction option, such as sort=field:direction.

    • AWFRequestSortDescending: Sorts results based on the associated field name in descending order
    • AWFRequestSortDisabled: Disables any specific sorting on the field name
    • AWFRequestSortAscending: Sorts the results based on the associated field name in ascending order
    • AWFRequestSortDefault: The default sorting order

    Declaration

    Objective-C

    enum AWFRequestSort : NSInteger {}

    Swift

    enum AWFRequestSort : Int, @unchecked Sendable
  • The operators used when combining multiple queries in a request.

    • AWFRequestOperatorOr: Joins queries using an OR operator
    • AWFRequestOperatorAnd: Joins queries using an AND operator

    Declaration

    Objective-C

    enum AWFRequestOperator : NSUInteger {}

    Swift

    enum AWFRequestOperator : UInt, @unchecked Sendable