StandardIntegrityManager.StandardIntegrityToken
public
static
abstract
class
StandardIntegrityManager.StandardIntegrityToken
extends Object
java.lang.Object | |
↳ | com.google.android.play.core.integrity.StandardIntegrityManager.StandardIntegrityToken |
Response of StandardIntegrityManager.StandardIntegrityTokenProvider.request(StandardIntegrityTokenRequest)
.
Summary
Public constructors | |
---|---|
StandardIntegrityToken()
|
Public methods | |
---|---|
abstract
Task<Integer>
|
showDialog(Activity activity, int typeCode)
Displays a dialog to the user. |
abstract
String
|
token()
A token which contains the response for the integrity related enquiries. |
Inherited methods | |
---|---|
Public constructors
StandardIntegrityToken
public StandardIntegrityToken ()
Public methods
showDialog
public abstract Task<Integer> showDialog (Activity activity, int typeCode)
Displays a dialog to the user.
This method can only be called once per Integrity API response.
Parameters | |
---|---|
activity |
Activity |
typeCode |
int : determines which Integrity Dialog type should be shown. The available values
can be found in the token() . |
Returns | |
---|---|
Task<Integer> |
A Task that completes with a IntegrityDialogResponseCode the
showDialog flow succeeded or failed.
|