Click or drag to resize
uLiveWallpaper
LiveWallpaper Class
Main uLiveWallpaper class. Enables access to wallpaper-related APIs.
Inheritance Hierarchy
SystemObject
  LostPolygon.uLiveWallpaperLiveWallpaper

Namespace:  LostPolygon.uLiveWallpaper
Syntax
C#
public static class LiveWallpaper

The LiveWallpaper type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberIsPreview
Whether wallpaper is currently in preview mode.
Public propertyStatic memberIsVisible
Whether wallpaper is currently visible.
Public propertyStatic memberWallpaperDesiredSize
Current wallpaper virtual desired size, in pixels.
Public propertyStatic memberWallpaperOffset
Current wallpaper offset state.
Top
Methods
  NameDescription
Public methodStatic memberGetApplicationContext
Gets the Android Application Context.
Public methodStatic memberGetCurrentWallpaperPackageName
Gets the package name of the currently set live wallpaper.
Public methodStatic memberGetDefaultLauncherPackageName
Gets the package name of current default launcher.
Public methodStatic memberOpenPreviewScreen
Opens the live wallpaper preview screen.
Public methodStatic memberOpenURL
Opens the URL using Android API.
Public methodStatic memberStartActivity
Starts an Android Activity using the Application Context.
Public methodStatic memberStartDefaultSettingsActivity
Attempts to start the Settings Activity named SettingsActivity.
Top
Events
  NameDescription
Public eventStatic memberCustomEventReceived
Called when a custom event has been received. Event can be sent from Java with a code LiveWallpaperUnityFacade.getEventsProxy().customEvent("somethingHappened", "some event data");
Public eventStatic memberDesiredSizeChanged
Called when wallpaper desired size changed.
Public eventStatic memberIsPreviewChanged
Called when wallpaper has entered or exited the preview mode.
Public eventStatic memberMultiTapDetected
Called when a quick sequence of taps was detected.
Public eventStatic memberOffsetsChanged
Called when wallpaper offsets had changed.
Public eventStatic memberPreferenceActivityTriggered
Called when live wallpaper preferences Activity has started.
Public eventStatic memberPreferenceChanged
Called when a preference had changed.
Public eventStatic memberVisibilityChanged
Called when wallpaper became visible or hidden.
Top
See Also