StandardIntegrityManager
public
interface
StandardIntegrityManager
com.google.android.play.core.integrity.StandardIntegrityManager |
Manages requests for integrity information.
Summary
Nested classes | |
---|---|
class |
StandardIntegrityManager.PrepareIntegrityTokenRequest
Request for |
class |
StandardIntegrityManager.StandardIntegrityToken
Response of |
interface |
StandardIntegrityManager.StandardIntegrityTokenProvider
Standard integrity token provider. |
class |
StandardIntegrityManager.StandardIntegrityTokenRequest
Request for |
Public methods | |
---|---|
abstract
Task<StandardIntegrityManager.StandardIntegrityTokenProvider>
|
prepareIntegrityToken(StandardIntegrityManager.PrepareIntegrityTokenRequest request)
Prepares the integrity token and makes it available for requesting via |
Public methods
prepareIntegrityToken
public abstract Task<StandardIntegrityManager.StandardIntegrityTokenProvider> prepareIntegrityToken (StandardIntegrityManager.PrepareIntegrityTokenRequest request)
Prepares the integrity token and makes it available for requesting via StandardIntegrityManager.StandardIntegrityTokenProvider
.
You can call this method from time to time in order to refresh the resulting StandardIntegrityManager.StandardIntegrityTokenProvider
.
Note that this API makes a call to Google servers and hence requires a network connection.
Parameters | |
---|---|
request |
StandardIntegrityManager.PrepareIntegrityTokenRequest : the object to prepare the integrity token with. |
Returns | |
---|---|
Task<StandardIntegrityManager.StandardIntegrityTokenProvider> |
A Task that completes once the prepareIntegrityToken flow succeeded or failed.
In case of a failure, StandardIntegrityException wrapped with a Task will
be thrown.
|
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-01-03 UTC.