AppWidgetProvider.OnDisabled(Context) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called in response to the AppWidgetManager#ACTION_APPWIDGET_DISABLED
broadcast, which
is sent when the last AppWidget instance for this provider is deleted.
[Android.Runtime.Register("onDisabled", "(Landroid/content/Context;)V", "GetOnDisabled_Landroid_content_Context_Handler")]
public virtual void OnDisabled (Android.Content.Context? context);
[<Android.Runtime.Register("onDisabled", "(Landroid/content/Context;)V", "GetOnDisabled_Landroid_content_Context_Handler")>]
abstract member OnDisabled : Android.Content.Context -> unit
override this.OnDisabled : Android.Content.Context -> unit
- context
- Context
The android.content.Context Context
in which this receiver is
running.
- Attributes
Called in response to the AppWidgetManager#ACTION_APPWIDGET_DISABLED
broadcast, which is sent when the last AppWidget instance for this provider is deleted. Override this method to implement your own AppWidget functionality.
{
Java documentation for android.appwidget.AppWidgetProvider.onDisabled(android.content.Context)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Produkt | Verzie |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |