Interface IDisplayConfig
interface IDisplayConfig
Extends com.amazon.apmf.IStandard
Structure which contains basic information of a display configuration.
The display config structure provides native resolution, DPI, supported refresh rate and
other capabilities for this config.
Methods
getNativeWidthInPixels()
i32 getNativeWidthInPixels()
Query the native width in pixels for this config
Returns
i32
native width
getNativeHeightInPixels()
i32 getNativeHeightInPixels()
Query the height in pixels for this config
Returns
i32
native height
getNativeScreenDensityInDpi()
i32 getNativeScreenDensityInDpi()
Query the physical/native screen density
Returns
i32
screen density expressed as dots-per-inch (DPI)
getMaxHdcpLevel()
HdcpLevel getMaxHdcpLevel()
Query the max HDCP (High-bandwidth Digital Content Protection) level supported on
this display config
[HdcpLevel]
Returns
HdcpLevel
HdcpLevel
getSupportedRefreshRatesInMillihertz()
i32[] getSupportedRefreshRatesInMillihertz()
Query the list of all supported refresh rates in mHz (millihertz) for this config
Returns
i32[]
list of refresh rates as mHz
Throws
OutOfMemoryError— if device is out of memory
getSupportedHdrType()
API to get list of all supported HdrType for this configHdrType[]getSupportedHdrType()
Returns
HdrType[]
list of HdrType

