The first SafetyNet reCAPTCHA API announced as part of Google Play Services.
reCAPTCHA Android API is included with Google SafetyNet, which provides services like device attestation and safe browsing to protect mobile apps. Mobile developers can do both the device and user attestations in the same API to mitigate security risks of their apps more efficiently. This adds to the diversity of security protections on Android: Google Play Protect to monitor for potentially harmful applications, device encryption, and regular security updates. Visit the site to learn more about how to integrate with the reCAPTCHA Android API, and keep an eye out for iOS library.
source: Android Developers Blog - Making the Internet safer and faster: Introducing reCAPTCHA Android API
I have tried, please read "Example using SafetyNet reCAPTCHA API in Android App".