Java android.appwidget AppWidgetProviderInfo fields, constructors, methods, implement or subclass

Example usage for Java android.appwidget AppWidgetProviderInfo fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.appwidget AppWidgetProviderInfo.

The text is from its open source code.

Field

intRESIZE_NONE
Widget is not resizable.
intWIDGET_CATEGORY_KEYGUARD
Indicates that the widget can be displayed on the keyguard.
intWIDGET_CATEGORY_SEARCHBOX
Indicates that the widget can be displayed within a space reserved for the search box.

Method

DrawableloadIcon(@NonNull Context context, int density)
Loads the icon to display for this AppWidget in the AppWidget picker.
StringloadLabel(PackageManager packageManager)
Loads the localized label to display to the user in the AppWidget picker.
DrawableloadPreviewImage(@NonNull Context context, int density)
Loads a preview of what the AppWidget will look like after it's configured.