ILiveWallpaperEventsListener

Describes all events that are sent from Java side to Unity.

Inheritors

Functions

Link copied to clipboard
abstract fun customEventReceived(eventName: String, eventData: String)

Called to inform about a custom event.

Link copied to clipboard
abstract fun desiredSizeChanged(desiredWidth: Int, desiredHeight: Int)

Called to inform about the change of wallpaper desired size.

Link copied to clipboard
abstract fun isPreviewChanged(isPreview: Boolean)

Called to inform whether the wallpaper has entered or exited the preview mode.

Link copied to clipboard
abstract fun multiTapDetected(finalTapPositionX: Float, finalTapPositionY: Float)

Called to inform that user has tapped the screen multiple times.

Link copied to clipboard
abstract fun offsetsChanged(xOffset: Float, yOffset: Float, xOffsetStep: Float, yOffsetStep: Float, xPixelOffset: Int, yPixelOffset: Int)

Called to inform about change of wallpaper offsets.

Link copied to clipboard
abstract fun preferenceChanged(key: String)

Called to inform about the change of preference value.

Link copied to clipboard

Called to inform that live wallpaper preferences Activity has started.

Link copied to clipboard
abstract fun visibilityChanged(isVisible: Boolean)

Called to inform whether the wallpaper has become visible or not visible.