Android.App.WallpaperManager.SuggestDesiredDimensions Method
For use only by the current home application, to specify the size of wallpaper it would like to use.

Syntax

[Android.Runtime.Register("suggestDesiredDimensions", "(II)V", "GetSuggestDesiredDimensions_IIHandler")]
public virtual void SuggestDesiredDimensions (int minimumWidth, int minimumHeight)

Parameters

minimumWidth
Desired minimum width
minimumHeight
Desired minimum height

Remarks

For use only by the current home application, to specify the size of wallpaper it would like to use. This allows such applications to have a virtual wallpaper that is larger than the physical screen, matching the size of their workspace.

Note developers, who don't seem to be reading this. This is for home screens to tell what size wallpaper they would like. Nobody else should be calling this! Certainly not other non-home-screen apps that change the wallpaper. Those apps are supposed to retrieve the suggested size so they can construct a wallpaper that matches it.

This method requires the caller to hold the permission NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#SET_WALLPAPER_HINTS.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5