Example usage for Java android.appwidget AppWidgetManager fields, constructors, methods, implement or subclass
The text is from its open source code.
String | ACTION_APPWIDGET_PICK Activity action to launch from your AppWidgetHost activity when you want to pick an AppWidget to display. |
String | ACTION_APPWIDGET_BIND Activity action to launch from your AppWidgetHost activity when you want to bind an AppWidget to display and bindAppWidgetIdIfAllowed returns false. |
String | ACTION_APPWIDGET_CONFIGURE Sent when it is time to configure your AppWidget while it is being added to a host. |
String | EXTRA_APPWIDGET_ID An intent extra that contains one appWidgetId. |
String | OPTION_APPWIDGET_MIN_WIDTH A bundle extra that contains the lower bound on the current width, in dips, of a widget instance. |
String | OPTION_APPWIDGET_MIN_HEIGHT A bundle extra that contains the lower bound on the current height, in dips, of a widget instance. |
String | OPTION_APPWIDGET_MAX_WIDTH A bundle extra that contains the upper bound on the current width, in dips, of a widget instance. |
String | OPTION_APPWIDGET_MAX_HEIGHT A bundle extra that contains the upper bound on the current width, in dips, of a widget instance. |
String | OPTION_APPWIDGET_HOST_CATEGORY A bundle extra that hints to the AppWidgetProvider the category of host that owns this this widget. |
String | EXTRA_APPWIDGET_IDS An intent extra that contains multiple appWidgetIds. |
String | EXTRA_APPWIDGET_PROVIDER An intent extra that contains the component name of a AppWidget provider. |
String | EXTRA_APPWIDGET_PROVIDER_PROFILE An intent extra that contains the user handle of the profile under which an AppWidget provider is registered. |
String | EXTRA_CUSTOM_INFO An intent extra to pass to the AppWidget picker containing a java.util.List of AppWidgetProviderInfo objects to mix in to the list of AppWidgets that are installed. |
String | EXTRA_CUSTOM_EXTRAS An intent extra to pass to the AppWidget picker containing a java.util.List of android.os.Bundle objects to mix in to the list of AppWidgets that are installed. |
int | INVALID_APPWIDGET_ID A sentinel value that the AppWidget manager will never return as a appWidgetId. |
String | ACTION_APPWIDGET_UPDATE Sent when it is time to update your AppWidget. |
String | ACTION_APPWIDGET_OPTIONS_CHANGED Sent when the custom extras for an AppWidget change. |
String | ACTION_APPWIDGET_DELETED Sent when an instance of an AppWidget is deleted from its host. |
String | ACTION_APPWIDGET_ENABLED Sent when an instance of an AppWidget is added to a host for the first time. |
int[] | getAppWidgetIds(ComponentName provider) Get the list of appWidgetIds that have been bound to the given AppWidget provider. |
AppWidgetProviderInfo | getAppWidgetInfo(int appWidgetId) Get the available info about the AppWidget. |
Bundle | getAppWidgetOptions(int appWidgetId) Get the extras associated with a given widget instance. |
List | getInstalledProviders() Return a list of the AppWidget providers that are currently installed. |
AppWidgetManager | getInstance(Context context) Get the AppWidgetManager instance to use for the supplied android.content.Context Context object. |
void | notifyAppWidgetViewDataChanged(int[] appWidgetIds, int viewId) Notifies the specified collection view in all the specified AppWidget instances to invalidate their data. |
void | notifyAppWidgetViewDataChanged(int appWidgetId, int viewId) Notifies the specified collection view in the specified AppWidget instance to invalidate its data. |
void | partiallyUpdateAppWidget(int[] appWidgetIds, RemoteViews views) Perform an incremental update or command on the widget(s) specified by appWidgetIds. |
void | partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) Perform an incremental update or command on the widget specified by appWidgetId. |
void | updateAppWidget(int[] appWidgetIds, RemoteViews views) Set the RemoteViews to use for the specified appWidgetIds. |
void | updateAppWidget(int appWidgetId, RemoteViews views) Set the RemoteViews to use for the specified appWidgetId. |
void | updateAppWidget(ComponentName provider, RemoteViews views) Set the RemoteViews to use for all AppWidget instances for the supplied AppWidget provider. |