public static final class DeviceApi.Device.Display extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DeviceApi.Device.Display.Size
This a two-dimensional data type. 
 | 
static class  | 
DeviceApi.Device.Display.SizeF
This a two-dimensional data type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Optional<Integer> | 
getHeight()
Gets the height. 
 | 
static Optional<Double> | 
getHeightInMillimeters()
Gets the height in mm. 
 | 
static Optional<Integer> | 
getHeightSansButtonBar()
Gets the height without a possibly present button bar. 
 | 
static Optional<DeviceApi.Device.Display.SizeF> | 
getPixelSize()
Gets the pixel size with respect to the current orientation. 
 | 
static Optional<DeviceApi.Device.Display.Size> | 
getSize()
Gets the size with respect to the current orientation. 
 | 
static Optional<DeviceApi.Device.Display.Size> | 
getSizeSansBar()
Gets the size without possibly a present button bar with respect
 to the current orientation. 
 | 
static Optional<Integer> | 
getWidth()
Gets the width. 
 | 
static Optional<Double> | 
getWidthInMillimeters()
Gets the width in mm. 
 | 
static Optional<Integer> | 
getWidthSansButtonBar()
Gets the width without a possibly present button bar. 
 | 
public static Optional<Integer> getWidth()
public static Optional<Integer> getHeight()
public static Optional<Double> getWidthInMillimeters()
public static Optional<Double> getHeightInMillimeters()
public static Optional<Integer> getWidthSansButtonBar()
public static Optional<Integer> getHeightSansButtonBar()
public static Optional<DeviceApi.Device.Display.Size> getSize()
public static Optional<DeviceApi.Device.Display.Size> getSizeSansBar()
public static Optional<DeviceApi.Device.Display.SizeF> getPixelSize()
Copyright © 2025. All rights reserved.