WallpaperManager.DesiredMinimumHeight Property

Definition

Returns the desired minimum height for the wallpaper.

public virtual int DesiredMinimumHeight { [Android.Runtime.Register("getDesiredMinimumHeight", "()I", "GetGetDesiredMinimumHeightHandler")] get; }
[<get: Android.Runtime.Register("getDesiredMinimumHeight", "()I", "GetGetDesiredMinimumHeightHandler")>]
member this.DesiredMinimumHeight : int

Property Value

The desired minimum height for the wallpaper. This value should be honored by applications that set the wallpaper but it is not mandatory.

Attributes

Remarks

Returns the desired minimum height for the wallpaper. Callers of #setBitmap(android.graphics.Bitmap) or #setStream(java.io.InputStream) should check this value beforehand to make sure the supplied wallpaper respects the desired minimum height.

If the returned value is <= 0, the caller should use the height of the default display instead.

Java documentation for android.app.WallpaperManager.getDesiredMinimumHeight().

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