Google.Play.Integrity.StandardIntegrityManagerV2

Manages requests for integrity information and dialogs.

Summary

Constructors and Destructors

StandardIntegrityManagerV2()
Constructor.

Public functions

PrepareIntegrityToken(PrepareIntegrityTokenRequest request)
Prepares the integrity token and makes it available for requesting via StandardIntegrityTokenProvider.
ShowDialog(StandardIntegrityDialogRequest request)
Displays a dialog to the user.

Classes

Google.Play.Integrity.StandardIntegrityManagerV2.StandardIntegrityTokenProvider

Standard integrity token provider.

Public functions

PrepareIntegrityToken

PlayAsyncOperation< StandardIntegrityManagerV2.StandardIntegrityTokenProvider, StandardIntegrityError > PrepareIntegrityToken(
  PrepareIntegrityTokenRequest request
)

Prepares the integrity token and makes it available for requesting via StandardIntegrityTokenProvider.

You can call this method from time to time in order to refresh the resulting StandardIntegrityTokenProvider.

The API makes a call to Google's servers and hence requires a network connection.

Details
Parameters
request
the object to prepare the integrity token with.
Returns
A PlayAsyncOperation{StandardIntegrityManagerV2.StandardIntegrityTokenProvider, StandardIntegrityError} that returns StandardIntegrityTokenProvider on successful callback or StandardIntegrityError on failure callback.

ShowDialog

PlayAsyncOperation< IntegrityDialogResponseCode, StandardIntegrityError > ShowDialog(
  StandardIntegrityDialogRequest request
)

Displays a dialog to the user.

This method can only be called once per Integrity API response (Token or Error).

Details
Parameters
request
Contains all the information required to show the dialog.
Returns
A PlayAsyncOperation{TResult,TError} that returns IntegrityDialogResponseCode on successful callback or StandardIntegrityError on failure callback.

StandardIntegrityManagerV2

 StandardIntegrityManagerV2()

Constructor.