/**@class android.service.wallpaper.WallpaperService @extends android.app.Service A wallpaper service is responsible for showing a live wallpaper behind applications that would like to sit on top of it. This service object itself does very little -- its only purpose is to generate instances of {@link android.service.wallpaper.WallpaperService.Engine} as needed. Implementing a wallpaper thus involves subclassing from this, subclassing an Engine implementation, and implementing {@link #onCreateEngine}() to return a new instance of your engine. */ var WallpaperService = { /** The {@link Intent} that must be declared as handled by the service. To be supported, the service must also require the {@link android.Manifest.permission#BIND_WALLPAPER} permission so that other applications can not abuse it. */ SERVICE_INTERFACE : "android.service.wallpaper.WallpaperService", /** Name under which a WallpaperService component publishes information about itself. This meta-data must reference an XML resource containing a <code><{@link android.R.styleable#Wallpaper wallpaper}></code> tag. */ SERVICE_META_DATA : "android.service.wallpaper", /** */ onCreate : function( ) {}, /** */ onDestroy : function( ) {}, /**Implement to return the implementation of the internal accessibility service interface. Subclasses should not override. */ onBind : function( ) {}, /**Must be implemented to return a new instance of the wallpaper's engine. Note that multiple instances may be active at the same time, such as when the wallpaper is currently set as the active wallpaper and the user is in the wallpaper picker viewing a preview of it as well. */ onCreateEngine : function( ) {}, };