App Widget Host State
class AppWidgetHostState(providerInfo: AppWidgetProviderInfo?, state: MutableState<AppWidgetHostView?>)
Content copied to clipboard
State for the AppWidgetHost that holds the host view and allows to update the appwidget.
See also
Constructors
AppWidgetHostState
Link copied to clipboard
fun AppWidgetHostState(providerInfo: AppWidgetProviderInfo?, state: MutableState<AppWidgetHostView?>)
Content copied to clipboard
Functions
updateAppWidget
Link copied to clipboard
Properties
providerInfo
Link copied to clipboard
snapshot
Link copied to clipboard
value
Link copied to clipboard
The current AppWidgetHostView instance or null if not laid out yet.
Extensions
requestPin
Link copied to clipboard
fun AppWidgetHostState.requestPin(target: ComponentName = value!!.appWidgetInfo.provider, successCallback: PendingIntent? = null): Boolean
Content copied to clipboard