java.lang.Object | |
↳ | android.appwidget.AppWidgetProviderInfo |
Describes the meta data for an installed AppWidget provider. The fields in this class
correspond to the fields in the <appwidget-provider>
xml tag.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creator<AppWidgetProviderInfo> | CREATOR | Parcelable.Creator that instantiates AppWidgetProviderInfo objects |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
configure | The activity to launch that will configure the AppWidget. | ||||||||||
icon | The icon to display for this AppWidget in the AppWidget picker. | ||||||||||
initialLayout | The resource id of the initial layout for this AppWidget. | ||||||||||
label | The label to display to the user in the AppWidget picker. | ||||||||||
minHeight | Minimum height of the AppWidget, in dp. | ||||||||||
minWidth | Minimum width of the AppWidget, in dp. | ||||||||||
provider | Identity of this AppWidget component. | ||||||||||
updatePeriodMillis | How often, in milliseconds, that this AppWidget wants to be updated. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Unflatten the AppWidgetProviderInfo from a parcel.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
| |||||||||||
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
From interface android.os.Parcelable
|
Parcelable.Creator that instantiates AppWidgetProviderInfo objects
The activity to launch that will configure the AppWidget.
This class name of field corresponds to the android:configure
attribute in
the AppWidget meta-data file. The package name always corresponds to the package containing
the AppWidget provider.
The icon to display for this AppWidget in the AppWidget picker. If not supplied in the xml, the application icon will be used.
This field corresponds to the android:icon
attribute in
the <receiver>
element in the AndroidManifest.xml file.
The resource id of the initial layout for this AppWidget. This should be displayed until the RemoteViews for the AppWidget is available.
This field corresponds to the android:initialLayout
attribute in
the AppWidget meta-data file.
The label to display to the user in the AppWidget picker. If not supplied in the xml, the application label will be used.
This field corresponds to the android:label
attribute in
the <receiver>
element in the AndroidManifest.xml file.
Minimum height of the AppWidget, in dp.
This field corresponds to the android:minHeight
attribute in
the AppWidget meta-data file.
Minimum width of the AppWidget, in dp.
This field corresponds to the android:minWidth
attribute in
the AppWidget meta-data file.
Identity of this AppWidget component. This component should be a BroadcastReceiver
, and it will be sent the AppWidget intents
as described in the AppWidget package documentation
.
This field corresponds to the android:name
attribute in
the <receiver>
element in the AndroidManifest.xml file.
How often, in milliseconds, that this AppWidget wants to be updated. The AppWidget manager may place a limit on how often a AppWidget is updated.
This field corresponds to the android:updatePeriodMillis
attribute in
the AppWidget meta-data file.
Note: Updates requested with updatePeriodMillis
will not be delivered more than once every 30 minutes.
Unflatten the AppWidgetProviderInfo from a parcel.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful toString
method
if you intend implementing your own toString
method.
Flatten this object in to a Parcel.
out | The Parcel in which the object should be written. |
---|---|
flags | Additional flags about how the object should be written.
May be 0 or PARCELABLE_WRITE_RETURN_VALUE .
|