# StandardIntegrityManager.StandardIntegrityDialogRequest


```
public abstract class StandardIntegrityManager.StandardIntegrityDialogRequest
```

<br />

*** ** * ** ***

Request for [StandardIntegrityManager#showDialog(StandardIntegrityDialogRequest)](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager#showDialog(com.google.android.play.core.integrity.StandardIntegrityManager.StandardIntegrityDialogRequest)).

Since 1.5.0

## Summary

| ### Nested types |
|---|
| `public abstract class `[StandardIntegrityManager.StandardIntegrityDialogRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.Builder) Builder for [StandardIntegrityDialogRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest). |
| `public abstract class `[StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse) Encapsulates the result of a standard integrity check so it can be used to build a [StandardIntegrityDialogRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest). |
| `public final class `[StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse.ExceptionDetails](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse.ExceptionDetails)` extends `[StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse) Represents a failed integrity check, containing the [StandardIntegrityException](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityException). |
| `public final class `[StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse.TokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse.TokenResponse)` extends `[StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse) Represents a successful integrity check, containing the [StandardIntegrityToken](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityToken). |

| ### Public constructors |
|---|
| [StandardIntegrityDialogRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest#StandardIntegrityDialogRequest())`()` |

| ### Public methods |
|---|---|
| `abstract `[Activity](https://developer.android.com/reference/android/app/Activity.html) | [activity](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest#activity())`()` The activity to be used to show the dialog. |
| `static `[StandardIntegrityManager.StandardIntegrityDialogRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.Builder) | [builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest#builder())`()` Creates [StandardIntegrityDialogRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.Builder). |
| `abstract `[StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse) | [standardIntegrityResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest#standardIntegrityResponse())`()` The integrity check outcome for the dialog request. |
| `abstract int` | [typeCode](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest#typeCode())`()` The type of the integrity dialog to be shown. |

## Public constructors

### StandardIntegrityDialogRequest

```
public StandardIntegrityDialogRequest()
```  

## Public methods

### activity

```
public abstract Activity activity()
```

The activity to be used to show the dialog.

See the details [Builder#setActivity(Activity)](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.Builder#setActivity(android.app.Activity)).  

### builder

```
public static StandardIntegrityManager.StandardIntegrityDialogRequest.Builder builder()
```

Creates [StandardIntegrityDialogRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.Builder).  

### standardIntegrityResponse

```
public abstract StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse standardIntegrityResponse()
```

The integrity check outcome for the dialog request.

See the details [Builder#setStandardIntegrityResponse(StandardIntegrityResponse)](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.Builder#setStandardIntegrityResponse(com.google.android.play.core.integrity.StandardIntegrityManager.StandardIntegrityDialogRequest.StandardIntegrityResponse)).  

### typeCode

```
public abstract int typeCode()
```

The type of the integrity dialog to be shown.

See the details [Builder#setTypeCode(int)](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityDialogRequest.Builder#setTypeCode(int)).