WeatherWidget

Weather widget. Displays the current weather information. User can click the widget to refresh the weather information.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val sizeMode: SizeMode
Link copied to clipboard

Functions

Link copied to clipboard
open fun onCompositionError(context: Context, glanceId: GlanceId, appWidgetId: Int, throwable: Throwable)
Link copied to clipboard
open suspend fun onDelete(context: Context, glanceId: GlanceId)
Link copied to clipboard
open suspend override fun provideGlance(context: Context, id: GlanceId)

Provides the glance content.

Link copied to clipboard
suspend fun update(context: Context, id: GlanceId)