API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IBTDISCOVERER_ONEVENTNOTIFY()

Brew Release
Brew MP 1.0.2
See Also
AEEBTDiscovererEvent IBTDiscoverer_GetEvent
Description
Registers a signal with the interface to be set when an event occurs. Once this signal is set, events may be retrieved by calling IBTDiscoverer_GetEvent(). Each event is internally queued and presented in order to the application. If the event queue reaches its capacity, and a new event occurs, it is discarded and AEEBTDISC_EV_EVENT_Q_OVERFLOW event is queued. Further events are discarded until at least one pending event is consumed.
Params
_me
[in]:
the object
piSig
[in]:
Signal to be set when an event occurs.
Return
AEE_SUCCESS
[]:
The signal was successfully registered.
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful
Interface
Prototype
  •    AEEResult IBTDiscoverer_OnEventNotify (IBTDiscoverer* _me, ISignal* piSig);
    
Side Effect
  • None.
Comments
None.