WallpaperManager.SetWallpaperOffsetSteps(Single, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For applications that use multiple virtual screens showing a wallpaper, specify the step size between virtual screens.
[Android.Runtime.Register("setWallpaperOffsetSteps", "(FF)V", "GetSetWallpaperOffsetSteps_FFHandler")]
public virtual void SetWallpaperOffsetSteps (float xStep, float yStep);
[<Android.Runtime.Register("setWallpaperOffsetSteps", "(FF)V", "GetSetWallpaperOffsetSteps_FFHandler")>]
abstract member SetWallpaperOffsetSteps : single * single -> unit
override this.SetWallpaperOffsetSteps : single * single -> unit
Parameters
- xStep
- Single
The X offset delta from one screen to the next one
- yStep
- Single
The Y offset delta from one screen to the next one
- Attributes
Remarks
For applications that use multiple virtual screens showing a wallpaper, specify the step size between virtual screens. For example, if the launcher has 3 virtual screens, it would specify an xStep of 0.5, since the X offset for those screens are 0.0, 0.5 and 1.0
Java documentation for android.app.WallpaperManager.setWallpaperOffsetSteps(float, float)
.
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.