pd_unregister_event()

Stops all notification events for a specific class.

Synopsis:

#include <peripheral_discovery.h>
 
int pd_unregister_event(pd_class_t class_id)

Since:

BlackBerry 10.2.0

Arguments:

class_id

The class of peripherals to stop notifications for.

Library:

libperipheral_discovery (For the qcc command, use the -l peripheral_discovery option to link against this library)

Description:

This code sample shows how to stop callbacks for serial peripherals:
 pd_unregister_event( PD_CLASS_SERIAL );

Returns:

EOK on success.