# StandardIntegrityManager.PrepareIntegrityTokenRequest

<br />

```
public abstract class StandardIntegrityManager.PrepareIntegrityTokenRequest
```

<br />

*** ** * ** ***

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

## Summary

|                                                                                                                                                                                                                          ### Nested types                                                                                                                                                                                                                          |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `public abstract class `[StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder) Builder for[PrepareIntegrityTokenRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest). |

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

|                                                                                                              ### Public methods                                                                                                              |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `static `[StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder) | [builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest#builder())`()` Creates[PrepareIntegrityTokenRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder). |
| `abstract long`                                                                                                                                                                                                                              | [cloudProjectNumber](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest#cloudProjectNumber())`()` The cloud project number provided to the API.                                                                                                                                                |
| `abstract int`                                                                                                                                                                                                                               | [webViewRequestMode](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest#webViewRequestMode())`()` The WebView request mode provided to the API.                                                                                                                                                |

## Public constructors

### PrepareIntegrityTokenRequest

```
public PrepareIntegrityTokenRequest()
```  

## Public methods

### builder

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

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

### cloudProjectNumber

```
public abstract long cloudProjectNumber()
```

The cloud project number provided to the API.

See the details[Builder#setCloudProjectNumber(long)](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder#setCloudProjectNumber(long)).  

### webViewRequestMode

```
public abstract int webViewRequestMode()
```

The WebView request mode provided to the API.

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

This parameter is only used for advanced system use cases and must be left unspecified by app, game, or SDK developers.

Since 1.6.0