Android.Appwidget.AppWidgetHost Members

The members of Android.Appwidget.AppWidgetHost are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AllocateAppWidgetId() : int
Get a appWidgetId for a host in the calling process.
CreateView(Android.Content.Context, int, AppWidgetProviderInfo) : AppWidgetHostView
Create the AppWidgetHostView for the given widget.
static
DeleteAllHosts()
Remove all records about all hosts for your package.
DeleteAppWidgetId(int)
Stop listening to changes for this AppWidget.
DeleteHost()
Remove all records about this host from the AppWidget manager.
StartAppWidgetConfigureActivityForResult(Android.App.Activity, int, Android.Content.ActivityFlags, int, Android.OS.Bundle)
Starts an app widget provider configure activity for result on behalf of the caller.
StartListening()
Start receiving onAppWidgetChanged calls for your AppWidgets.
StopListening()
Stop receiving onAppWidgetChanged calls for your AppWidgets.

Protected Methods

ClearViews()
Clear the list of Views that have been created by this AppWidgetHost.
OnCreateView(Android.Content.Context, int, AppWidgetProviderInfo) : AppWidgetHostView
Called to create the AppWidgetHostView.
OnProviderChanged(int, AppWidgetProviderInfo)
Called when the AppWidget provider for a AppWidget has been upgraded to a new apk.
OnProvidersChanged()
Called when the set of available widgets changes (ie. widget containing packages are added, updated or removed, or widget components are enabled or disabled.