java.lang.Object | |
↳ | android.app.WallpaperInfo |
This class is used to specify meta information of a wallpaper service.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR | Used to make this class parcelable. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Return the component of the service that implements this wallpaper.
| |||||||||||
Return the .apk package that implements this wallpaper.
| |||||||||||
Return the raw information about the Service implementing this
wallpaper.
| |||||||||||
Return the class name of the service component that implements
this wallpaper.
| |||||||||||
Return the class name of an activity that provides a settings UI for
the wallpaper.
| |||||||||||
Return a string indicating the author(s) of this wallpaper.
| |||||||||||
Return a brief summary of this wallpaper's behavior.
| |||||||||||
Load the user-displayed icon for this wallpaper.
| |||||||||||
Load the user-displayed label for this wallpaper.
| |||||||||||
Load the thumbnail image for this wallpaper.
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
| |||||||||||
Used to package this object into a
Parcel .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Used to make this class parcelable.
Constructor.
context | The Context in which we are parsing the wallpaper. |
---|---|
service | The ResolveInfo returned from the package manager about this wallpaper's component. |
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Return the component of the service that implements this wallpaper.
Return the .apk package that implements this wallpaper.
Return the raw information about the Service implementing this wallpaper. Do not modify the returned object.
Return the class name of the service component that implements this wallpaper.
Return the class name of an activity that provides a settings UI for
the wallpaper. You can launch this activity be starting it with
an Intent
whose action is MAIN and with an
explicit ComponentName
composed of getPackageName()
and the class name returned here.
A null will be returned if there is no settings activity associated with the wallpaper.
Return a string indicating the author(s) of this wallpaper.
Resources.NotFoundException |
---|
Return a brief summary of this wallpaper's behavior.
Resources.NotFoundException |
---|
Load the user-displayed icon for this wallpaper.
pm | Supply a PackageManager used to load the wallpaper's resources. |
---|
Load the user-displayed label for this wallpaper.
pm | Supply a PackageManager used to load the wallpaper's resources. |
---|
Load the thumbnail image for this wallpaper.
pm | Supply a PackageManager used to load the wallpaper's resources. |
---|
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.