WallpaperService.Engine.OnTouchEvent(MotionEvent) 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 as the user performs touch-screen interaction with the window that is currently showing this wallpaper.
[Android.Runtime.Register("onTouchEvent", "(Landroid/view/MotionEvent;)V", "GetOnTouchEvent_Landroid_view_MotionEvent_Handler")]
public virtual void OnTouchEvent (Android.Views.MotionEvent? e);
[<Android.Runtime.Register("onTouchEvent", "(Landroid/view/MotionEvent;)V", "GetOnTouchEvent_Landroid_view_MotionEvent_Handler")>]
abstract member OnTouchEvent : Android.Views.MotionEvent -> unit
override this.OnTouchEvent : Android.Views.MotionEvent -> unit
Parameters
- Attributes
Remarks
Called as the user performs touch-screen interaction with the window that is currently showing this wallpaper. Note that the events you receive here are driven by the actual application the user is interacting with, so if it is slow you will get fewer move events.
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.