getScreenDensityDpi

abstract fun getScreenDensityDpi(): Int

获取屏幕每英寸点数 (DPI - Dots Per Inch)。

Return

屏幕密度 DPI 值(例如:160, 320, 480)。