public static class

WeatherContract.WeatherColumns

extends Object
java.lang.Object
   ↳ lineageos.providers.WeatherContract.WeatherColumns

Summary

Nested Classes
class WeatherContract.WeatherColumns.TempUnit Temperature units  
class WeatherContract.WeatherColumns.WeatherCode Weather condition codes  
class WeatherContract.WeatherColumns.WindSpeedUnit Wind speed units  
Constants
String CURRENT_CITY The city name

Type: TEXT

String CURRENT_CONDITION A localized string mapped to the current weather condition code.
String CURRENT_CONDITION_CODE A Valid WeatherContract.WeatherColumns.WeatherCode

Type: INTEGER

String CURRENT_HUMIDITY The current weather humidity

Type: DOUBLE

String CURRENT_TEMPERATURE The current weather temperature

Type: DOUBLE

String CURRENT_TEMPERATURE_UNIT The unit in which current temperature is reported

Type: INTEGER

Can be one of the following:
String CURRENT_TIMESTAMP The timestamp when this weather was reported

Type: LONG

String CURRENT_WIND_DIRECTION The current wind direction (in degrees)

Type: DOUBLE

String CURRENT_WIND_SPEED The current wind speed

Type: DOUBLE

String CURRENT_WIND_SPEED_UNIT The unit in which the wind speed is reported

Type: INTEGER

Can be one of the following:
String FORECAST_CONDITION A localized string mapped to the forecasted weather condition code.
String FORECAST_CONDITION_CODE The code identifying the forecasted weather condition.
String FORECAST_HIGH The forecasted high temperature

Type: DOUBLE

String FORECAST_LOW The forecasted low temperature

Type: DOUBLE

String TODAYS_HIGH_TEMPERATURE Today's high temperature.
String TODAYS_LOW_TEMPERATURE Today's low temperature.
Fields
public static final Uri CONTENT_URI
public static final Uri CURRENT_AND_FORECAST_WEATHER_URI
public static final Uri CURRENT_WEATHER_URI
public static final Uri FORECAST_WEATHER_URI
Public Constructors
WeatherContract.WeatherColumns()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String CURRENT_CITY

added in API level 5

The city name

Type: TEXT

Constant Value: "city"

public static final String CURRENT_CONDITION

added in API level 5

A localized string mapped to the current weather condition code. Note that, if no locale is found, the string will be in english

Type: TEXT

Constant Value: "condition"

public static final String CURRENT_CONDITION_CODE

added in API level 5

A Valid WeatherContract.WeatherColumns.WeatherCode

Type: INTEGER

Constant Value: "condition_code"

public static final String CURRENT_HUMIDITY

added in API level 5

The current weather humidity

Type: DOUBLE

Constant Value: "humidity"

public static final String CURRENT_TEMPERATURE

added in API level 5

The current weather temperature

Type: DOUBLE

Constant Value: "temperature"

public static final String CURRENT_TEMPERATURE_UNIT

added in API level 5

The unit in which current temperature is reported

Type: INTEGER

Can be one of the following:

Constant Value: "temperature_unit"

public static final String CURRENT_TIMESTAMP

added in API level 5

The timestamp when this weather was reported

Type: LONG

Constant Value: "timestamp"

public static final String CURRENT_WIND_DIRECTION

added in API level 5

The current wind direction (in degrees)

Type: DOUBLE

Constant Value: "wind_direction"

public static final String CURRENT_WIND_SPEED

added in API level 5

The current wind speed

Type: DOUBLE

Constant Value: "wind_speed"

public static final String CURRENT_WIND_SPEED_UNIT

added in API level 5

The unit in which the wind speed is reported

Type: INTEGER

Can be one of the following:

Constant Value: "wind_speed_unit"

public static final String FORECAST_CONDITION

added in API level 5

A localized string mapped to the forecasted weather condition code. Note that, if no locale is found, the string will be in english

Type: TEXT

Constant Value: "forecast_condition"

public static final String FORECAST_CONDITION_CODE

added in API level 5

The code identifying the forecasted weather condition.

Constant Value: "forecast_condition_code"

public static final String FORECAST_HIGH

added in API level 5

The forecasted high temperature

Type: DOUBLE

Constant Value: "forecast_high"

public static final String FORECAST_LOW

added in API level 5

The forecasted low temperature

Type: DOUBLE

Constant Value: "forecast_low"

public static final String TODAYS_HIGH_TEMPERATURE

added in API level 5

Today's high temperature.

Type: DOUBLE

Constant Value: "todays_high"

public static final String TODAYS_LOW_TEMPERATURE

added in API level 5

Today's low temperature.

Type: DOUBLE

Constant Value: "todays_low"

Fields

public static final Uri CONTENT_URI

added in API level 5

public static final Uri CURRENT_AND_FORECAST_WEATHER_URI

added in API level 5

public static final Uri CURRENT_WEATHER_URI

added in API level 5

public static final Uri FORECAST_WEATHER_URI

added in API level 5

Public Constructors

public WeatherContract.WeatherColumns ()

added in API level 5