WallpaperService.Engine.OnOffsetsChanged 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.
Called to inform you of the wallpaper's offsets changing
within its contain, corresponding to the container's
call to WallpaperManager#setWallpaperOffsets(IBinder, float, float)
WallpaperManager.setWallpaperOffsets()
.
[Android.Runtime.Register("onOffsetsChanged", "(FFFFII)V", "GetOnOffsetsChanged_FFFFIIHandler")]
public virtual void OnOffsetsChanged (float xOffset, float yOffset, float xOffsetStep, float yOffsetStep, int xPixelOffset, int yPixelOffset);
[<Android.Runtime.Register("onOffsetsChanged", "(FFFFII)V", "GetOnOffsetsChanged_FFFFIIHandler")>]
abstract member OnOffsetsChanged : single * single * single * single * int * int -> unit
override this.OnOffsetsChanged : single * single * single * single * int * int -> unit
Parameters
- xOffset
- Single
- yOffset
- Single
- xOffsetStep
- Single
- yOffsetStep
- Single
- xPixelOffset
- Int32
- yPixelOffset
- Int32
- Attributes
Remarks
Called to inform you of the wallpaper's offsets changing within its contain, corresponding to the container's call to WallpaperManager#setWallpaperOffsets(IBinder, float, float) WallpaperManager.setWallpaperOffsets()
.
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.