WallpaperInfo.SupportsMultipleDisplays Method

Definition

Returns whether this wallpaper service can support multiple engines to render on each surface independently.

[Android.Runtime.Register("supportsMultipleDisplays", "()Z", "", ApiSince=29)]
public bool SupportsMultipleDisplays ();
[<Android.Runtime.Register("supportsMultipleDisplays", "()Z", "", ApiSince=29)>]
member this.SupportsMultipleDisplays : unit -> bool

Returns

true if multiple engines can render independently on each surface.

Attributes

Remarks

Returns whether this wallpaper service can support multiple engines to render on each surface independently. An example use case is a multi-display set-up where the wallpaper service can render surfaces to each of the connected displays.

This corresponds to the value android.R.styleable#Wallpaper_supportsMultipleDisplays in the XML description of the wallpaper.

The default value is false.

Java documentation for android.app.WallpaperInfo.supportsMultipleDisplays().

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