Android.Appwidget.AppWidgetHost.DeleteAllHosts Method
Remove all records about all hosts for your package.

Syntax

[Android.Runtime.Register("deleteAllHosts", "()V", "")]
public static void DeleteAllHosts ()

Remarks

Remove all records about all hosts for your package.

  • 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