WallpaperManager.ClearWallpaperOffsets(IBinder) Method

Definition

Clear the offsets previously associated with this window through #setWallpaperOffsets(IBinder, float, float).

[Android.Runtime.Register("clearWallpaperOffsets", "(Landroid/os/IBinder;)V", "GetClearWallpaperOffsets_Landroid_os_IBinder_Handler")]
public virtual void ClearWallpaperOffsets (Android.OS.IBinder? windowToken);
[<Android.Runtime.Register("clearWallpaperOffsets", "(Landroid/os/IBinder;)V", "GetClearWallpaperOffsets_Landroid_os_IBinder_Handler")>]
abstract member ClearWallpaperOffsets : Android.OS.IBinder -> unit
override this.ClearWallpaperOffsets : Android.OS.IBinder -> unit

Parameters

windowToken
IBinder

The window who these offsets should be associated with, as returned by android.view.View#getWindowToken() View.getWindowToken().

Attributes

Remarks

Clear the offsets previously associated with this window through #setWallpaperOffsets(IBinder, float, float). This reverts the window to its default state, where it does not cause the wallpaper to scroll from whatever its last offsets were.

Java documentation for android.app.WallpaperManager.clearWallpaperOffsets(android.os.IBinder).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to