# IntegrityDialogRequest.IntegrityResponse


```
public abstract class IntegrityDialogRequest.IntegrityResponse
```

<br />

Known direct subclasses  
[IntegrityDialogRequest.IntegrityResponse.ExceptionDetails](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse.ExceptionDetails), [IntegrityDialogRequest.IntegrityResponse.TokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse.TokenResponse)  

|---|---|
| [IntegrityDialogRequest.IntegrityResponse.ExceptionDetails](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse.ExceptionDetails) | Represents a failed integrity check, containing the [IntegrityServiceException](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityServiceException). |
| [IntegrityDialogRequest.IntegrityResponse.TokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse.TokenResponse) | Represents a successful integrity check, containing the [IntegrityTokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenResponse). |

*** ** * ** ***

Encapsulates the result of an integrity check so it can be used to build an [IntegrityDialogRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest).

## Summary

| ### Nested types |
|---|
| `public final class `[IntegrityDialogRequest.IntegrityResponse.ExceptionDetails](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse.ExceptionDetails)` extends `[IntegrityDialogRequest.IntegrityResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse) Represents a failed integrity check, containing the [IntegrityServiceException](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityServiceException). |
| `public final class `[IntegrityDialogRequest.IntegrityResponse.TokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse.TokenResponse)` extends `[IntegrityDialogRequest.IntegrityResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse) Represents a successful integrity check, containing the [IntegrityTokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenResponse). |