WallpaperService.Engine.SetTouchEventsEnabled(Boolean) 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.
Control whether this wallpaper will receive raw touch events from the window manager as the user interacts with the window that is currently displaying the wallpaper.
[Android.Runtime.Register("setTouchEventsEnabled", "(Z)V", "GetSetTouchEventsEnabled_ZHandler")]
public virtual void SetTouchEventsEnabled (bool enabled);
[<Android.Runtime.Register("setTouchEventsEnabled", "(Z)V", "GetSetTouchEventsEnabled_ZHandler")>]
abstract member SetTouchEventsEnabled : bool -> unit
override this.SetTouchEventsEnabled : bool -> unit
Parameters
- enabled
- Boolean
- Attributes
Remarks
Control whether this wallpaper will receive raw touch events from the window manager as the user interacts with the window that is currently displaying the wallpaper. By default they are turned off. If enabled, the events will be received in #onTouchEvent(MotionEvent)
.
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.