appIsForeground top-level property

bool appIsForeground
getter/setter pair

判断应用程序处于前台

Implementation

bool appIsForeground = true;