How do I remove all detected planes in ARCore and restart the detection of them? Is this even possible? I searched on Google and Stackoverflow with arcore remove/delete all planes and I found nothing useful.
/Edit: I want to have ARCore in the same state after the version check on start up, the grey hand-movement-animation is shown and no planes are detected (so they must be deleted first) and ARCore is trying to detect new planes.
Restarting the app as Clayton Wilkinson said works, I did it with the following code:
Intent i = new Intent(context, Main.class);
i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK|Intent.FLAG_ACTIVITY_CLEAR_TASK);
context.startActivity(i);