Communication API > BS2_SetNotificationListener


BS2_SetNotificationListener

Sets the notification listener.

Declaration

#include "BS_API.h"
 
int BS2_SetNotificationListener(void* context, OnAlarmFired ptrAlarmFired, OnInputDetected ptrInputDetected, OnConfigChanged ptrConfigChanged);

Parameter

Return Value

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