StandardIntegrityManager.StandardIntegrityToken

public abstract class StandardIntegrityManager.StandardIntegrityToken


Response of StandardIntegrityTokenProvider#request(StandardIntegrityTokenRequest).

Summary

Public constructors

Public methods

abstract Task<Integer>
showDialog(Activity activity, int typeCode)

This method is deprecated.

Use StandardIntegrityManager#showDialog(StandardIntegrityDialogRequest) instead.

abstract String

A token which contains the response for the integrity related enquiries.

Public constructors

StandardIntegrityToken

public StandardIntegrityToken()

Public methods

showDialog

public abstract Task<IntegershowDialog(Activity activity, int typeCode)

Displays a dialog to the user.

This method can only be called once per Integrity API response.

Parameters
int typeCode

determines which Integrity Dialog type should be shown. See IntegrityDialogTypeCode for the supported types.

Returns
Task<Integer>

A Task that completes with a IntegrityDialogResponseCode the showDialog flow succeeded or failed.

token

public abstract String token()

A token which contains the response for the integrity related enquiries.