# Google.Play.Integrity.StandardIntegrityDialogRequest

Represents a request to show a Play Integrity API dialog in Standard mode.

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityDialogRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityDialogRequest_1ae62a95bc963fdcddbe681bafd42d8785(https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityToken#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityToken token, AndroidJavaObject activity, int dialogType)` Constructs a [StandardIntegrityDialogRequest](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityDialogRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityDialogRequest) using a successful token response. ||
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityDialogRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityDialogRequest_1aa6f60fccfc9b7d31a4c66afade5d6ad5(https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityError#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityError standardIntegrityError, AndroidJavaObject activity, int dialogType)` Constructs a [StandardIntegrityDialogRequest](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityDialogRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityDialogRequest) using a service error. ||

| ### Properties ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityDialogRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityDialogRequest_1ad254fbf8c2dfad621e959eaebf51ddfa` | `AndroidJavaObject` The Android Activity context used to display the dialog. |
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityDialogRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityDialogRequest_1a7c57cfe1d746c0e12200235d9eca4dad` | `int` Determines which Integrity dialog type should be shown. |
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityDialogRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityDialogRequest_1a8c63f125470d443a4f90cc9d93ce2268` | `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityError#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityError` The Standard Integrity error that the dialog is meant to help the user resolve. |
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityDialogRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityDialogRequest_1a525befe86f2bdc624bfa3d3781c2768e` | `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityToken#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityToken` The Standard Integrity token response that necessitates showing the dialog. |

## Properties

### Activity

```c#
AndroidJavaObject Activity
```
The Android Activity context used to display the dialog.

### DialogType

```c#
int DialogType
```
Determines which Integrity dialog type should be shown.

See <https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/IntegrityDialogTypeCode> for the supported types.

### StandardIntegrityError

```c#
StandardIntegrityError StandardIntegrityError
```
The Standard Integrity error that the dialog is meant to help the user resolve.

Will be null if the request was built with a token response.

### StandardIntegrityToken

```c#
StandardIntegrityToken StandardIntegrityToken
```
The Standard Integrity token response that necessitates showing the dialog.

Will be null if the request was built with an error.

## Public functions

### StandardIntegrityDialogRequest

```c#
 StandardIntegrityDialogRequest(
  StandardIntegrityToken token,
  AndroidJavaObject activity,
  int dialogType
)
```
Constructs a [StandardIntegrityDialogRequest](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityDialogRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityDialogRequest) using a successful token response.

<br />

Details Parameters `token` The successful response from the Integrity API. `activity` The Android Activity context used to display the dialog. `dialogType` The type code of the dialog to show. See <https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/IntegrityDialogTypeCode> for the supported types.

### StandardIntegrityDialogRequest

```c#
 StandardIntegrityDialogRequest(
  StandardIntegrityError standardIntegrityError,
  AndroidJavaObject activity,
  int dialogType
)
```
Constructs a [StandardIntegrityDialogRequest](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityDialogRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityDialogRequest) using a service error.

<br />

Details Parameters `standardIntegrityError` The error that the dialog is meant to help the user resolve. `activity` The Android Activity context used to display the dialog. `dialogType` The type code of the dialog to show. See <https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/IntegrityDialogTypeCode> for the supported types.