Server API > BS2_SetUserPhraseHandler
[+ 2.7.0] Registers the server user phrase handler.
#include "BS_API.h" int BS2_SetUserPhraseHandler(void* context, OnUserPhrase ptrQuery);
context
: ContextptrQuery
: Callback function to ask for user phrase to the server after successful authentication
NOTE
To use the server matching service, the BS2DisplayConfig's queryUserPhrase should be set as true.
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.