Summary: [Constants](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/IntegrityDialogResponseCode#constants) \| [Inherited Methods](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/IntegrityDialogResponseCode#inhmethods)  

# IntegrityDialogResponseCode


`
public


abstract
@interface
IntegrityDialogResponseCode
`


`


implements

`[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`


`

|--------------------------------------------------------------------------|
| com.google.android.play.core.integrity.model.IntegrityDialogResponseCode |

<br />

*** ** * ** ***

Dialog response codes for Integrity API.

## Summary

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

| ### Inherited methods |
|-----------------------|---|
| From interface ` `[java.lang.annotation.Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)` ` |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` abstract `[Class](https://developer.android.com/reference/java/lang/Class.html)`<? extends `[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`>` | ` annotationType() `                                                                       | | ` abstract boolean`                                                                                                                                                                         | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` abstract int`                                                                                                                                                                             | ` hashCode() `                                                                             | | ` abstract `[String](https://developer.android.com/reference/java/lang/String.html)                                                                                                         | ` toString() `                                                                             | ||

## Constants

### DIALOG_CANCELLED

```
public static final int DIALOG_CANCELLED
```

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

<br />

Constant Value:

2
(0x00000002)


### DIALOG_FAILED

```
public static final int DIALOG_FAILED
```

An error occurred when trying to show the Integrity Dialog.

<br />

Constant Value:

1
(0x00000001)


### DIALOG_SUCCESSFUL

```
public static final int DIALOG_SUCCESSFUL
```

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

<br />

Constant Value:

3
(0x00000003)


### DIALOG_UNAVAILABLE

```
public static final int DIALOG_UNAVAILABLE
```

The Integrity Dialog is unavailable.

<br />

Constant Value:

0
(0x00000000)