/**@class android.app.WallpaperInfo implements android.os.Parcelable @extends java.lang.Object This class is used to specify meta information of a wallpaper service. */ var WallpaperInfo = { /** Used to make this class parcelable. */ CREATOR : "null", /**Return the .apk package that implements this wallpaper. */ getPackageName : function( ) {}, /**Return the class name of the service component that implements this wallpaper. */ getServiceName : function( ) {}, /**Return the raw information about the Service implementing this wallpaper. Do not modify the returned object. */ getServiceInfo : function( ) {}, /**Return the component of the service that implements this wallpaper. */ getComponent : function( ) {}, /**Load the user-displayed label for this wallpaper. @param {Object {PackageManager}} pm Supply a PackageManager used to load the wallpaper's resources. */ loadLabel : function( ) {}, /**Load the user-displayed icon for this wallpaper. @param {Object {PackageManager}} pm Supply a PackageManager used to load the wallpaper's resources. */ loadIcon : function( ) {}, /**Load the thumbnail image for this wallpaper. @param {Object {PackageManager}} pm Supply a PackageManager used to load the wallpaper's resources. */ loadThumbnail : function( ) {}, /**Return a string indicating the author(s) of this wallpaper. */ loadAuthor : function( ) {}, /**Return a brief summary of this wallpaper's behavior. */ loadDescription : function( ) {}, /**Returns an URI that specifies a link for further context about this wallpaper. @param {Object {PackageManager}} pm An instance of {@link PackageManager} to retrieve the URI. @return {Object {android.net.Uri}} The URI. */ loadContextUri : function( ) {}, /**Retrieves a title of the URI that specifies a link for further context about this wallpaper. @param {Object {PackageManager}} pm An instance of {@link PackageManager} to retrieve the title. @return {Object {java.lang.CharSequence}} The title. */ loadContextDescription : function( ) {}, /**Queries whether any metadata should be shown when previewing the wallpaper. If this value is set to true, any component that shows a preview of this live wallpaper should also show accompanying information like {@link #loadLabel}, {@link #loadDescription}, {@link #loadAuthor} and {@link #loadContextDescription}(PackageManager), so the user gets to know further information about this wallpaper. @return {Boolean} Whether any metadata should be shown when previewing the wallpaper. */ getShowMetadataInPreview : function( ) {}, /**Returns whether a wallpaper was optimized or not for ambient mode and can be drawn in there. @see WallpaperService.Engine#onAmbientModeChanged(boolean, boolean) @see WallpaperService.Engine#isInAmbientMode() @return {Boolean} {@code true} if wallpaper can draw when in ambient mode. @hide */ supportsAmbientMode : function( ) {}, /**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 {@link android.content.Intent} whose action is MAIN and with an explicit {@link android.content.ComponentName} composed of {@link #getPackageName} and the class name returned here. <p>{@code null} will be returned if there is no settings activity associated with the wallpaper. */ getSettingsActivity : function( ) {}, /**Returns an URI that provides a settings {@link Slice} for this wallpaper. The wallpaper should implement a SliceProvider associated with this URI. The system will display the Slice in the customization section while previewing the live wallpaper. Because this URI is accessible to other apps, it is recommended to protect it with the android.permission.BIND_WALLPAPER permission. <p>{@code null} will be returned if there is no settings Slice URI associated with the wallpaper. @return {Object {android.net.Uri}} The URI. */ getSettingsSliceUri : function( ) {}, /**Returns whether this wallpaper service can support multiple engines to render on each surface independently. An example use case is a multi-display set-up where the wallpaper service can render surfaces to each of the connected displays. <p> This corresponds to the value {@link android.R.styleable#Wallpaper_supportsMultipleDisplays} in the XML description of the wallpaper. <p> The default value is {@code false}. @see WallpaperService#onCreateEngine() @see WallpaperService.Engine#onCreate(SurfaceHolder) @return {Boolean} {@code true} if multiple engines can render independently on each surface. @attr ref android.R.styleable#Wallpaper_supportsMultipleDisplays */ supportsMultipleDisplays : function( ) {}, /** */ dump : function( ) {}, /** */ toString : function( ) {}, /**Used to package this object into a {@link Parcel}. @param {Object {Parcel}} dest The {@link Parcel} to be written. @param {Number} flags The flags used for parceling. */ writeToParcel : function( ) {}, /** */ describeContents : function( ) {}, };