IntegrityDialogRequest.Builder

public abstract class IntegrityDialogRequest.Builder


Builder for IntegrityDialogRequest.

Summary

Public constructors

Public methods

abstract IntegrityDialogRequest

Builds an IntegrityDialogRequest.

abstract IntegrityDialogRequest.Builder

Sets the activity to be used to show the dialog.

abstract IntegrityDialogRequest.Builder

Sets the previous integrity check outcome for the dialog request.

abstract IntegrityDialogRequest.Builder
setTypeCode(int typeCode)

Sets the dialog type.

Public constructors

Builder

public Builder()

Public methods

build

public abstract IntegrityDialogRequest build()

Builds an IntegrityDialogRequest.

setActivity

public abstract IntegrityDialogRequest.Builder setActivity(Activity activity)

Sets the activity to be used to show the dialog.

Parameters
Activity activity

the android activity to be used to show the dialog.

setIntegrityResponse

public abstract IntegrityDialogRequest.Builder setIntegrityResponse(
    IntegrityDialogRequest.IntegrityResponse integrityResponse
)

Sets the previous integrity check outcome for the dialog request.

Parameters
IntegrityDialogRequest.IntegrityResponse integrityResponse

The IntegrityResponse representing either a successful IntegrityResponse.TokenResponse or a failed IntegrityResponse.ExceptionDetails.

setTypeCode

public abstract IntegrityDialogRequest.Builder setTypeCode(int typeCode)

Sets the dialog type.

Parameters
int typeCode

determines which IntegrityDialogTypeCode should be shown.