It is clear enough from Google docs how to show consent form in an Android app with Google Mobile Ads SDK:
First I call requestConsentInfoUpdate
and then I call loadAndShowConsentFormIfRequired
that shows the consent form if required.
I did not test this code, but as far as I can guess, Google Mobile Ads SDK checks if the user belongs to the region GDPR applies to, shows its own consent form and internally saves a flag indicating if the user agreed (pressed some Allow button in consent form).
(more…)