Legacy Android SDK
2.2.1
2.2.1
  • Introduction
  • Requirements
  • Downloading
  • Setup
  • Initialization
    • Network Security Settings
  • User Management
    • Create User
    • User status
    • Delete engine enrol
    • Delete User
  • Face Engine
    • Liveness Detection
      • Liveness Customisation
    • Face Verification
    • Camera Helper
  • Voice Engine
    • Initialization
    • Audio Recording
    • Recording Submission
  • Document Engine
    • Validate document
    • Validate entity
  • Enums
Powered by GitBook
On this page

User Management

Before anything else, a user must be created in order to associate him with the data from the biometric engines.

The activity in which the user will be created must implement the interface AuthUserCallback and implement its callbacks.

public class ExampleActivity extends Activity
            implements AuthUserCallback {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_example);

    }

 @Override
    public void createUserCallback(boolean b, String s, JSONObject jsonObject, Errors errors) {

    }

    @Override
    public void refreshTokenCallback(boolean b, JSONObject jsonObject, Errors errors) {

    }

    @Override
    public void userStatusCallback(boolean b, JSONObject jsonObject, Errors errors) {

    }

    @Override
    public void authFlowCallback(boolean b, Engine engine, JSONObject jsonObject, Errors errors) {

    }

    @Override
    public void deleteUserCallback(boolean b, JSONObject jsonObject, Errors errors) {

    }

    @Override
    public void deleteEngineCallback(boolean b, JSONObject jsonObject, Errors errors) {

    }

    @Override
    public void availableLanguagesCallback(boolean b, JSONObject jsonObject, Errors errors) {

    }
    
    @Override
    public restartSessionCallback(boolean b, JSONObject jsonObject, Errors errors) {

    }
}
PreviousNetwork Security SettingsNextCreate User

Last updated 4 years ago