Android.Appwidget.AppWidgetHost.DeleteHost Method
Remove all records about this host from the AppWidget manager.

Syntax

[Android.Runtime.Register("deleteHost", "()V", "GetDeleteHostHandler")]
public virtual void DeleteHost ()

Remarks

Remove all records about this host from the AppWidget manager.

  • Call this when initializing your database, as it might be because of a data wipe.
  • Call this to have the AppWidget manager release all resources associated with your host. Any future calls about this host will cause the records to be re-allocated.

[Android Documentation]

Requirements

Namespace: Android.Appwidget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3