![]() |
|
LiveWallpaper Class |
Namespace: LostPolygon.uLiveWallpaper
public static class LiveWallpaper
The LiveWallpaper type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | IsPreview |
Whether wallpaper is currently in preview mode.
|
![]() ![]() | IsVisible |
Whether wallpaper is currently visible.
|
![]() ![]() | WallpaperDesiredSize |
Current wallpaper virtual desired size, in pixels.
|
![]() ![]() | WallpaperOffset |
Current wallpaper offset state.
|
Name | Description | |
---|---|---|
![]() ![]() | GetApplicationContext |
Gets the Android Application Context.
|
![]() ![]() | GetCurrentWallpaperPackageName |
Gets the package name of the currently set live wallpaper.
|
![]() ![]() | GetDefaultLauncherPackageName |
Gets the package name of current default launcher.
|
![]() ![]() | OpenPreviewScreen |
Opens the live wallpaper preview screen.
|
![]() ![]() | OpenURL |
Opens the URL using Android API.
|
![]() ![]() | StartActivity |
Starts an Android Activity using the Application Context.
|
![]() ![]() | StartDefaultSettingsActivity |
Attempts to start the Settings Activity named SettingsActivity.
|
Name | Description | |
---|---|---|
![]() ![]() | CustomEventReceived |
Called when a custom event has been received.
Event can be sent from Java with a code
LiveWallpaperUnityFacade.getEventsProxy().customEvent("somethingHappened", "some event data"); |
![]() ![]() | DesiredSizeChanged |
Called when wallpaper desired size changed.
|
![]() ![]() | IsPreviewChanged |
Called when wallpaper has entered or exited the preview mode.
|
![]() ![]() | MultiTapDetected |
Called when a quick sequence of taps was detected.
|
![]() ![]() | OffsetsChanged |
Called when wallpaper offsets had changed.
|
![]() ![]() | PreferenceActivityTriggered |
Called when live wallpaper preferences Activity has started.
|
![]() ![]() | PreferenceChanged |
Called when a preference had changed.
|
![]() ![]() | VisibilityChanged |
Called when wallpaper became visible or hidden.
|