# IntegrityDialogResponseCode


```
public annotation IntegrityDialogResponseCode
```

<br />

*** ** * ** ***

Dialog response codes for Integrity API.

## Summary

| ### Constants |
|---|---|
| `static final int` | [DIALOG_CANCELLED](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/IntegrityDialogResponseCode#DIALOG_CANCELLED())` = 2` The user was shown the Integrity Dialog, but did not interact with it. |
| `static final int` | [DIALOG_FAILED](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/IntegrityDialogResponseCode#DIALOG_FAILED())` = 1` An error occurred when trying to show the Integrity Dialog. |
| `static final int` | [DIALOG_SUCCESSFUL](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/IntegrityDialogResponseCode#DIALOG_SUCCESSFUL())` = 3` The user was shown the Integrity Dialog, and successfully interacted with it. |
| `static final int` | [DIALOG_UNAVAILABLE](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/IntegrityDialogResponseCode#DIALOG_UNAVAILABLE())` = 0` The Integrity Dialog is unavailable. |

## Constants

### DIALOG_CANCELLED

```
public static final int DIALOG_CANCELLED = 2
```

The user was shown the Integrity Dialog, but did not interact with it.  

### DIALOG_FAILED

```
public static final int DIALOG_FAILED = 1
```

An error occurred when trying to show the Integrity Dialog.  

### DIALOG_SUCCESSFUL

```
public static final int DIALOG_SUCCESSFUL = 3
```

The user was shown the Integrity Dialog, and successfully interacted with it.  

### DIALOG_UNAVAILABLE

```
public static final int DIALOG_UNAVAILABLE = 0
```

The Integrity Dialog is unavailable.