Card Input Listener
interface CardInputListener
Content copied to clipboard
A listener for card input events.
Functions
on Field Complete
Link copied to clipboard
Called whenever a field is determined to be complete and valid. This may be called multiple times if the user edits the field. If a field is invalid (e.g. an expiration date in the past) then this callback will not get called
on Focus Change
Link copied to clipboard
Called whenever the field of focus changes
on Input Changed
Link copied to clipboard
open fun onInputChanged(isValid: Boolean, fieldStates: Map<CardField, ICardFieldState>)
Content copied to clipboard
Called whenever input changes on the control.