Google. Play. Integrity. StandardIntegrityManagerV2
Manages requests for integrity information and dialogs.
Summary
Constructors and Destructors |
|
|---|---|
StandardIntegrityManagerV2()
Constructor.
|
Public functions |
|
|---|---|
PrepareIntegrityToken(PrepareIntegrityTokenRequest request)
|
PlayAsyncOperation< StandardIntegrityManagerV2.StandardIntegrityTokenProvider, StandardIntegrityError >
Prepares the integrity token and makes it available for requesting via StandardIntegrityTokenProvider.
|
ShowDialog(StandardIntegrityDialogRequest request)
|
PlayAsyncOperation< IntegrityDialogResponseCode, StandardIntegrityError >
Displays a dialog to the user.
|
Classes |
|
|---|---|
|
Google. |
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 |
|
||
| 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 |
|
||
| Returns |
A PlayAsyncOperation{TResult,TError} that returns IntegrityDialogResponseCode on successful callback or StandardIntegrityError on failure callback.
|
StandardIntegrityManagerV2
StandardIntegrityManagerV2()
Constructor.