Zone Control API > BS2_SetCheckGlobalAPBViolationHandler


BS2_SetCheckGlobalAPBViolationHandler

[+ 2.5.0] Registers callback function for global determination when an APB violation alarm occurs.

Declaration

#include "BS_API.h"
 
int BS2_SetCheckGlobalAPBViolationHandler(void* context, OnCheckGlobalAPBViolation ptrCheckGlobalAPBViolation);

Parameter

NOTE
To use Global Anti Passback service, BS2AuthConfig useGloable APB should be set to 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_CheckGlobalAPBViolation