Android.App.WallpaperManager.SetWallpaperOffsets Method
Set the position of the current wallpaper within any larger space, when that wallpaper is visible behind the given window.

Syntax

[Android.Runtime.Register("setWallpaperOffsets", "(Landroid/os/IBinder;FF)V", "GetSetWallpaperOffsets_Landroid_os_IBinder_FFHandler")]
public virtual void SetWallpaperOffsets (Android.OS.IBinder windowToken, float xOffset, float yOffset)

Parameters

windowToken
The window who these offsets should be associated with, as returned by Android.Views.View.WindowToken.
xOffset
The offset along the X dimension, from 0 to 1.
yOffset
The offset along the Y dimension, from 0 to 1.

Remarks

Set the position of the current wallpaper within any larger space, when that wallpaper is visible behind the given window. The X and Y offsets are floating point numbers ranging from 0 to 1, representing where the wallpaper should be positioned within the screen space. These only make sense when the wallpaper is larger than the screen.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5