Google.Play.Integrity.IntegrityDialogRequest
Represents a request to show a Play Integrity API dialog in Classic mode.
Summary
Constructors and Destructors |
|
|---|---|
IntegrityDialogRequest(IntegrityTokenResponse tokenResponse, AndroidJavaObject activity, int dialogType)
Constructs an IntegrityDialogRequest using a successful token response.
|
|
IntegrityDialogRequest(IntegrityServiceError integrityError, AndroidJavaObject activity, int dialogType)
Constructs an IntegrityDialogRequest 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.
|
IntegrityError
|
The Integrity error that the dialog is meant to help the user resolve.
|
TokenResponse
|
The Integrity token response that necessitates showing the dialog.
|
Properties
Activity
AndroidJavaObjectActivity
The Android Activity context used to display the dialog.
DialogType
intDialogType
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.
IntegrityError
IntegrityServiceError IntegrityError
The Integrity error that the dialog is meant to help the user resolve.
Will be null if the request was built with a token response.
TokenResponse
IntegrityTokenResponse TokenResponse
The Integrity token response that necessitates showing the dialog.
Will be null if the request was built with an error.
Public functions
IntegrityDialogRequest
IntegrityDialogRequest( IntegrityTokenResponse tokenResponse, AndroidJavaObjectactivity, intdialogType )
Constructs an IntegrityDialogRequest using a successful token response.
| Details | |
|---|---|
| Parameters |
tokenResponse
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.
|
IntegrityDialogRequest
IntegrityDialogRequest( IntegrityServiceError integrityError, AndroidJavaObjectactivity, intdialogType )
Constructs an IntegrityDialogRequest using a service error.
| Details | |
|---|---|
| Parameters |
integrityError
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.
|