playintegrity/v1 library
Google Play Integrity API - v1
The Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification.
For more information, see developer.android.com/google/play/integrity
Create an instance of PlayIntegrityApi to access these resources:
Classes
- AccountActivity
- Contains a signal helping apps differentiating between likely genuine users and likely non-genuine traffic (such as accounts being used for fraud, accounts used by automated traffic, or accounts used in device farms) based on the presence and volume of Play store activity.
- AccountDetails
- Contains the account information such as the licensing status for the user in the scope.
- AppIntegrity
- Contains the application integrity information.
- DecodeIntegrityTokenRequest
- Request to decode the integrity token.
- DecodeIntegrityTokenResponse
- Response containing the decoded integrity payload.
- DeviceIntegrity
- Contains the device attestation information.
- GuidanceDetails
- Contains guidance details about the Integrity API response, providing additional context to the integrity verdicts.
- PlayIntegrityApi
- The Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services.
- RequestDetails
- Contains the integrity request information.
- TestingDetails
- Contains additional information generated for testing responses.
- TokenPayloadExternal
- Contains basic app information and integrity signals like device attestation and licensing details.
- V1Resource
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.