Stay organized with collections
Save and categorize content based on your preferences.
Google.Play.Integrity.StandardIntegrityToken
Response of StandardIntegrityTokenProvider.Request.
Summary
Properties
|
Token
|
string
A token which contains the response for the integrity related enquiries.
|
Public functions
|
ShowDialog(int typeCode)
|
Displays a dialog to the user.
|
Properties
Token
string Token
A token which contains the response for the integrity related enquiries.
Public functions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-10-24 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-24 UTC."],[],[],null,["# Google.Play.Integrity.StandardIntegrityToken Class Reference\n\nGoogle.Play.Integrity.StandardIntegrityToken\n============================================\n\nResponse of [StandardIntegrityTokenProvider.Request](/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider_1aca1ca5d90d376bbfe020a513019581ea).\n\nSummary\n-------\n\n| ### Properties ||\n|---------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| [Token](#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityToken_1a1ef8aa71ed313f5d397190d2d76f7735) | `string` A token which contains the response for the integrity related enquiries. |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ShowDialog](#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityToken_1a2223afe63c926e59dbc1fd2d804587de)`(int typeCode)` | `PlayAsyncOperation\u003c `[IntegrityDialogResponseCode](/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a664149de1380fe4ef98779a01ef9e3d2)`, `[StandardIntegrityErrorCode](/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a18c5aa90bec0dee70e84b58580baf5b0)` \u003e` Displays a dialog to the user. |\n\nProperties\n----------\n\n### Token\n\n```c#\nstring Token\n``` \nA token which contains the response for the integrity related enquiries.\n\nPublic functions\n----------------\n\n### ShowDialog\n\n```c#\nPlayAsyncOperation\u003c IntegrityDialogResponseCode, StandardIntegrityErrorCode \u003e ShowDialog(\n int typeCode\n)\n``` \nDisplays a dialog to the user.\n\nThis method can only be called once per [Integrity](/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity) API response.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `typeCode` | determines which [Integrity](/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity) Dialog type should be shown. See \u003chttps://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/IntegrityDialogTypeCode\u003e for the supported types. | |\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Returns** | A PlayAsyncOperation{IntegrityDialogResponseCode, StandardIntegrityErrorCode} that returns [IntegrityDialogResponseCode](/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a664149de1380fe4ef98779a01ef9e3d2) on successful callback or [StandardIntegrityErrorCode](/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a18c5aa90bec0dee70e84b58580baf5b0) on failure callback. |"]]