StandardIntegrityManager.StandardIntegrityTokenRequest.Builder

public static abstract class StandardIntegrityManager.StandardIntegrityTokenRequest.Builder
extends Object

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


Builder for StandardIntegrityManager.StandardIntegrityTokenRequest.

Summary

Public constructors

Builder()

Public methods

abstract StandardIntegrityManager.StandardIntegrityTokenRequest build()

Builds a StandardIntegrityManager.StandardIntegrityTokenRequest.

abstract StandardIntegrityManager.StandardIntegrityTokenRequest.Builder setRequestHash(String value)

A request hash to bind the integrity token to.

abstract StandardIntegrityManager.StandardIntegrityTokenRequest.Builder setVerdictOptOut(Set<Integer> value)

A set of verdicts that should be opted out when requesting the token.

Inherited methods

Public constructors

Builder

public Builder ()

Public methods

setRequestHash

public abstract StandardIntegrityManager.StandardIntegrityTokenRequest.Builder setRequestHash (String value)

A request hash to bind the integrity token to.

It is a recommended and not required field.

Parameters
value String

Returns
StandardIntegrityManager.StandardIntegrityTokenRequest.Builder

setVerdictOptOut

public abstract StandardIntegrityManager.StandardIntegrityTokenRequest.Builder setVerdictOptOut (Set<Integer> value)

A set of verdicts that should be opted out when requesting the token.

Any verdicts specified here will be unevaluated. See StandardIntegrityVerdictOptOut for the list of verdicts that can be opted out.

Parameters
value Set

Returns
StandardIntegrityManager.StandardIntegrityTokenRequest.Builder