Google.Play.Integrity.StandardIntegrityDialogRequest

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

Summary

Constructors and Destructors

StandardIntegrityDialogRequest(StandardIntegrityToken token, AndroidJavaObject activity, int dialogType)
Constructs a StandardIntegrityDialogRequest using a successful token response.
StandardIntegrityDialogRequest(StandardIntegrityError standardIntegrityError, AndroidJavaObject activity, int dialogType)
Constructs a StandardIntegrityDialogRequest using a service error.

Properties

Activity
AndroidJavaObject
The Android Activity context used to display the dialog.
DialogType
int
Determines which Integrity dialog type should be shown.
StandardIntegrityError
The Standard Integrity error that the dialog is meant to help the user resolve.
StandardIntegrityToken
The Standard Integrity token response that necessitates showing the dialog.

Properties

Activity

AndroidJavaObject Activity

The Android Activity context used to display the dialog.

DialogType

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

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

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

 StandardIntegrityDialogRequest(
  StandardIntegrityToken token,
  AndroidJavaObject activity,
  int dialogType
)

Constructs a StandardIntegrityDialogRequest using a successful token response.

Details
Parameters
token
The successful response from the Integrity API.
activity
The Android Activity context used to display the dialog.
dialogType

StandardIntegrityDialogRequest

 StandardIntegrityDialogRequest(
  StandardIntegrityError standardIntegrityError,
  AndroidJavaObject activity,
  int dialogType
)

Constructs a StandardIntegrityDialogRequest using a service error.

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