Help Center


Methods:

abstract class DigitalIdentityHelpCenter {  
  bool isHelpCTAVisible(HelpCenterType helpCenterType);  
  void onHelpCTAClicked(HelpCenterType helpCenterType);  
}

isHelpCTAVisible

void isHelpCTAVisible(HelpCenterType helpCenterType);

The isHelpCTAVisible method determines if the Help button should be visible based on the
type of help needed. It returns true if the Help button should be shown, and false if it should
be hidden.


onHelpCTAClicked

void onHelpCTAClicked(HelpCenterType helpCenterType);

This method is triggered when the user clicks on the Help button. It takes the HelpCenterType
to identify the kind of help required and allows you to handle the help request accordingly.


HelpCenterType

HelpCenterType enum has the following applicable values for this flow

  • SELFIE_TIMEOUT
  • CAMERA_ISSUE
  • VERIFICATION_EXHAUSTED
  • VERIFICATION_FAILED

Documentations