onResult

abstract fun onResult(isReadyToPay: Boolean, @Nullable error: Exception)

Parameters

isReadyToPay

true if Google Pay is ready; false otherwise.

error

an exception that occurred while checking if Google Pay is ready