getScreenSizeApi30

@RequiresApi(value = 30)
private fun getScreenSizeApi30(context: Context): Pair<Int, Int>

Get the ScreenSize of your device in api 30.

Return

ScreenSize of your device.