WallpaperService.Engine.OnApplyWindowInsets(WindowInsets) Method

Definition

Called with the current insets that are in effect for the wallpaper.

[Android.Runtime.Register("onApplyWindowInsets", "(Landroid/view/WindowInsets;)V", "GetOnApplyWindowInsets_Landroid_view_WindowInsets_Handler")]
public virtual void OnApplyWindowInsets (Android.Views.WindowInsets? insets);
[<Android.Runtime.Register("onApplyWindowInsets", "(Landroid/view/WindowInsets;)V", "GetOnApplyWindowInsets_Landroid_view_WindowInsets_Handler")>]
abstract member OnApplyWindowInsets : Android.Views.WindowInsets -> unit
override this.OnApplyWindowInsets : Android.Views.WindowInsets -> unit

Parameters

insets
WindowInsets

Insets to apply.

Attributes

Remarks

Called with the current insets that are in effect for the wallpaper. This gives you the part of the overall wallpaper surface that will generally be visible to the user (ignoring position offsets applied to it).

Java documentation for android.service.wallpaper.WallpaperService.Engine.onApplyWindowInsets(android.view.WindowInsets).

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.

Applies to