Server API > BS2_SetServerMatchingHandler


BS2_SetServerMatchingHandler

Registers callback functions that can distinguish whether the card, fingerprint, user ID corresponds.

Declaration

#include "BS_API.h"
 
int BS2_SetServerMatchingHandler(void* context, OnVerifyUser ptrVerifyUser, OnIdentifyUser ptrIdentifyUser);

Parameter

NOTE
To use the server matching service, the BS2AuthConfig's useServerMatching should be set as true.

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.

See Also

BS2_VerifyUser
BS2_IdentifyUser