-
As the title states, I am interested in using the Nearby Connections API in an app I'm working on, but it is important that the app should not use WiFi for any communication. Is there a way to tell the API not to upgrade to a WiFi or WiFi-direct connection for sending data? All data transfer should be handled exclusively by Bluetooth. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
ConnectionOptions.Builder#setLowPower(true) and #setConnectionType(ConnectionType.NON_DISRUPTIVE) should turn off most WiFi upgrades. But these params are explicitly about use cases and not mediums. We try to avoid exposing direct control over how the data is being sent -- do you have a reason why it must be Bluetooth? |
Beta Was this translation helpful? Give feedback.
ConnectionOptions.Builder#setLowPower(true) and #setConnectionType(ConnectionType.NON_DISRUPTIVE) should turn off most WiFi upgrades.
But these params are explicitly about use cases and not mediums. We try to avoid exposing direct control over how the data is being sent -- do you have a reason why it must be Bluetooth?