WeatherPluginConfig

data class WeatherPluginConfig(val minUpdateInterval: Long = 60 * 60 * 1000L, val managedLocation: Boolean = false)

Constructors

Link copied to clipboard
constructor(minUpdateInterval: Long = 60 * 60 * 1000L, managedLocation: Boolean = false)

Properties

Link copied to clipboard

Whether the location is managed by the plugin. If true, the user cannot change the location in the launcher settings.

Link copied to clipboard

Minimum time (in ms) that needs to pass before the provider can be queried again. Note that updates can be triggered sooner if the user manually changes their location or weather provider.