onInputChanged

abstract fun onInputChanged(isValid: Boolean, invalidFields: Set<CardValidCallback.Fields>)

Parameters

isValid

if the current input is valid

invalidFields

if the current input is invalid, this Set will be populated with the fields that are invalid, represented by Fields; if the current input is valid, this Set will be empty