| java.lang.Object |
| ↳ |
lineageos.weather.WeatherLocation.Builder |
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
Public Constructors
public
WeatherLocation.Builder
(String cityId, String cityName)
| Parameters |
cityId |
String: An identifier for the city (for example WOEID - Where On Earth IDentifier) |
cityName |
String: The name of the city
|
public
WeatherLocation.Builder
(String cityName)
| Parameters |
cityName |
String: The name of the city
|
Public Methods
Combine all of the options that have been set and return a new WeatherLocation
object
| Parameters |
country |
String: The country name |
| Parameters |
countryId |
String: An identifier for the country (for example ISO alpha-2, ISO alpha-3,
ISO 3166-1 numeric-3, etc) |
| Parameters |
postalCode |
String: The postal/ZIP code |
| Parameters |
state |
String: The state or territory where the city is located |