OffScreenWindowEffect

fun OffScreenWindowEffect(block: (isForeground: Boolean) -> Unit)

当前屏幕或窗口是否处于离屏状态