Help Center


Methods

DigitalIdentityHelpCenter interface has the following methods

isHelpCTAVisible

fun isHelpCTAVisible(helpCenterType: HelpCenterType): Boolean

isHelpCTAVisible method will be triggered with the helpCenterType parameter before showing Help
CTA in the related flow screens. Based on the boolean return value Digital Identity SDK will show/hide the
Help CTA.


onHelpCTAClicked

fun onHelpCTAClicked(helpCenterType: HelpCenterType): Boolean

The onHelpCTAClicked method will be triggered with helpCenterType parameters when the user
taps the Help CTA in the related flow screens. Return true to close the SDK, false otherwise. In case of
closing the SDK, the respective observe methods will return a callback where the errorCode will be
HELP_CLICKED & errorMessage will be the helpCenterType. This can be used to perform analytics or any
other secondary action as well.


HelpCenterType

HelpCenterType enum has the following applicable values for this flow

  • SELFIE_TIMEOUT
  • CAMERA_ISSUE
  • VERIFICATION_EXHAUSTED
  • VERIFICATION_FAILED

Documentations