isAppOnForeground

public static boolean isAppOnForeground(Context context)

判断应用是否处于前台

Return

Parameters

context