WallpaperService.Engine.SetOffsetNotificationsEnabled(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 notifications when the wallpaper has been scrolled.
[Android.Runtime.Register("setOffsetNotificationsEnabled", "(Z)V", "GetSetOffsetNotificationsEnabled_ZHandler")]
public virtual void SetOffsetNotificationsEnabled (bool enabled);
[<Android.Runtime.Register("setOffsetNotificationsEnabled", "(Z)V", "GetSetOffsetNotificationsEnabled_ZHandler")>]
abstract member SetOffsetNotificationsEnabled : bool -> unit
override this.SetOffsetNotificationsEnabled : bool -> unit
Parameters
- enabled
- Boolean
whether the wallpaper wants to receive offset notifications
- Attributes
Remarks
Control whether this wallpaper will receive notifications when the wallpaper has been scrolled. By default, wallpapers will receive notifications, although the default static image wallpapers do not. It is a performance optimization to set this to false.
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.