StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder

public static abstract class StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder
extends Object

java.lang.Object
   ↳ com.google.android.play.core.integrity.StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder


Builder for StandardIntegrityManager.PrepareIntegrityTokenRequest.

Summary

Public constructors

Builder()

Public methods

abstract StandardIntegrityManager.PrepareIntegrityTokenRequest build()

Builds a StandardIntegrityManager.PrepareIntegrityTokenRequest.

abstract StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder setCloudProjectNumber(long value)

A cloud project number to link to the integrity token.

Inherited methods

Public constructors

Builder

public Builder ()

Public methods

setCloudProjectNumber

public abstract StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder setCloudProjectNumber (long value)

A cloud project number to link to the integrity token.

This field is required.

Cloud project number can be found in Project info in your Google Cloud Console for the cloud project where Play Integrity API is enabled.

Calls to decrypt the token on Google's server must be authenticated using the cloud account that was linked to the token in this request.

Parameters
value long

Returns
StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder