Stay organized with collections
Save and categorize content based on your preferences.
Google.Play.Integrity.StandardIntegrityManager
Manages requests for integrity information.
Summary
Public functions
StandardIntegrityManager
StandardIntegrityManager()
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 2023-05-02 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 2023-05-02 UTC."],[],[],null,["# Google.Play.Integrity.StandardIntegrityManager Class Reference\n\nGoogle.Play.Integrity.StandardIntegrityManager\n==============================================\n\nManages requests for integrity information.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [StandardIntegrityManager](#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManager_1a1f4cd1196772c0ba5ac0cd35741a498a)`()` Constructor. ||\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [PrepareIntegrityToken](#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManager_1aa58935c538b33ea73f9862c143412974)`(`[PrepareIntegrityTokenRequest](/reference/unity/class/Google/Play/Integrity/PrepareIntegrityTokenRequest#classGoogle_1_1Play_1_1Integrity_1_1PrepareIntegrityTokenRequest)` request)` | `PlayAsyncOperation\u003c `[StandardIntegrityTokenProvider](/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider)`, `[StandardIntegrityErrorCode](/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a18c5aa90bec0dee70e84b58580baf5b0)` \u003e` Prepares the integrity token and makes it available for requesting via [StandardIntegrityTokenProvider](/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider). |\n\nPublic functions\n----------------\n\n### PrepareIntegrityToken\n\n```c#\nPlayAsyncOperation\u003c StandardIntegrityTokenProvider, StandardIntegrityErrorCode \u003e PrepareIntegrityToken(\n PrepareIntegrityTokenRequest request\n)\n``` \nPrepares the integrity token and makes it available for requesting via [StandardIntegrityTokenProvider](/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider).\n\nYou can call this method from time to time in order to refresh the resulting [StandardIntegrityTokenProvider](/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider).\n\nThe API makes a call to [Google](/reference/unity/namespace/Google#namespaceGoogle) servers and hence requires a network connection.\n\nNote that the API is in beta mode.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |-----------|-------------------------------------------------| | `request` | the object to prepare the integrity token with. | |\n| **Returns** | A PlayAsyncOperation{StandardIntegrityTokenProvider, StandardIntegrityErrorCode} that returns [StandardIntegrityTokenProvider](/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider) on successful callback or [StandardIntegrityErrorCode](/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a18c5aa90bec0dee70e84b58580baf5b0) on failure callback. |\n\n### StandardIntegrityManager\n\n```c#\n StandardIntegrityManager()\n``` \nConstructor."]]