VirtualDisplay.Resize(Int32, Int32, Int32) 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.
Asks the virtual display to resize.
[Android.Runtime.Register("resize", "(III)V", "")]
public void Resize(int width, int height, int densityDpi);
[<Android.Runtime.Register("resize", "(III)V", "")>]
member this.Resize : int * int * int -> unit
Parameters
- width
- Int32
The requested width in pixels; it must be greater than zero.
- height
- Int32
The requested height in pixels; it must be greater than zero.
- densityDpi
- Int32
The requested density in dots per inch; it must be greater than zero.
- Attributes
Remarks
Asks the virtual display to resize.
This is really just a convenience to allow applications using virtual displays to adapt to changing conditions without having to tear down and recreate the display.
Java documentation for android.hardware.display.VirtualDisplay.resize(int, int, int).
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.