本文へスキップ

BS2_SetGlobalAPBViolationByDoorOpenHandler

+ v2.7.0 Registers callback function for global determination when an APB violation alarm occurs.

Declaration​

#include "BS_API.h"

int BS2_SetGlobalAPBViolationByDoorOpenHandler(void* context, OnCheckGlobalAPBViolationByDoorOpen ptrCheck, OnUpdateGlobalAPBViolationByDoorOpen ptrUpdate);

Parameter​

  • [In] context : Context

  • [In] ptrCheck : Callback function called for global determination when Anti Passback alarm occurs

  • [In] ptrUpdate : Callback function called for updating status of the authenticated user.

情報

To use Global Anti Passback service, set BS2AuthConfig useGlobalAPB = true,

and BS2DoorSensor apbUseDoorSensor = 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_CheckGlobalAPBViolationByDoorOpen

このページは役に立ちましたか?