Why is - (BFTask *)waitForDisconnection not available in MBLMetaWear.h?
The API Reference for (BFTask *)waitForDisconnection at https://mbientlab.com/docs/metawear/ios/latest/Classes/MBLMetaWear.html#//api/name/waitForDisconnect) reads:
“Create a task that will complete once this device disconnects, either expectedly or unexpectedly. This is useful for observing unexpected disconnects and automatically using a re-connect request or otherwise updating the UI.”
Is this BFTask the best method handle unexpected disconnection? If so, why is it not available in MBLMetaWear.h?
BTW, there is a typo in the original document “u” was typed “i” in "using"
This discussion has been closed.
Comments