IntegrityTokenResponse

public abstract class IntegrityTokenResponse


Response for IntegrityManager#requestIntegrityToken(IntegrityTokenRequest).

Summary

Public constructors

Public methods

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

This method is deprecated.

Use IntegrityManager#showDialog(IntegrityDialogRequest) instead.

abstract String

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

Public constructors

IntegrityTokenResponse

public IntegrityTokenResponse()

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.