Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaScript Suite Documentation

WeatherServiceManifest Class Reference

Constructors

Instance Methods

Constructors

new WeatherServiceManifest(parameters)

Initializes an instance of WeatherServiceManifest.

Instance Methods

weatherServiceManifest.getCurrentForecastSupported() ⇒ Boolean

Get the CurrentForecastSupported

Kind: Instance method of WeatherServiceManifest
Returns: Boolean - the KEY_CURRENT_FORECAST_SUPPORTED value

weatherServiceManifest.getMaxHourlyForecastAmount() ⇒ Number

Get the MaxHourlyForecastAmount

Kind: Instance method of WeatherServiceManifest
Returns: Number - the KEY_MAX_HOURLY_FORECAST_AMOUNT value

weatherServiceManifest.getMaxMinutelyForecastAmount() ⇒ Number

Get the MaxMinutelyForecastAmount

Kind: Instance method of WeatherServiceManifest
Returns: Number - the KEY_MAX_MINUTELY_FORECAST_AMOUNT value

weatherServiceManifest.getMaxMultidayForecastAmount() ⇒ Number

Get the MaxMultidayForecastAmount

Kind: Instance method of WeatherServiceManifest
Returns: Number - the KEY_MAX_MULTIDAY_FORECAST_AMOUNT value

weatherServiceManifest.getWeatherForLocationSupported() ⇒ Boolean

Get the WeatherForLocationSupported

Kind: Instance method of WeatherServiceManifest
Returns: Boolean - the KEY_WEATHER_FOR_LOCATION_SUPPORTED value

weatherServiceManifest.setCurrentForecastSupported(supported) ⇒ WeatherServiceManifest

Set the CurrentForecastSupported

Kind: Instance method of WeatherServiceManifest
Returns: WeatherServiceManifest - The class instance for method chaining.

ParamTypeDescription
supported Boolean The desired CurrentForecastSupported.

weatherServiceManifest.setMaxHourlyForecastAmount(amount) ⇒ WeatherServiceManifest

Set the MaxHourlyForecastAmount

Kind: Instance method of WeatherServiceManifest
Returns: WeatherServiceManifest - The class instance for method chaining.

ParamTypeDescription
amount Number The desired MaxHourlyForecastAmount.

weatherServiceManifest.setMaxMinutelyForecastAmount(amount) ⇒ WeatherServiceManifest

Set the MaxMinutelyForecastAmount

Kind: Instance method of WeatherServiceManifest
Returns: WeatherServiceManifest - The class instance for method chaining.

ParamTypeDescription
amount Number The desired MaxMinutelyForecastAmount.

weatherServiceManifest.setMaxMultidayForecastAmount(amount) ⇒ WeatherServiceManifest

Set the MaxMultidayForecastAmount

Kind: Instance method of WeatherServiceManifest
Returns: WeatherServiceManifest - The class instance for method chaining.

ParamTypeDescription
amount Number The desired MaxMultidayForecastAmount.

weatherServiceManifest.setWeatherForLocationSupported(supported) ⇒ WeatherServiceManifest

Set the WeatherForLocationSupported

Kind: Instance method of WeatherServiceManifest
Returns: WeatherServiceManifest - The class instance for method chaining.

ParamTypeDescription
supported Boolean The desired WeatherForLocationSupported.
View on GitHub.com