On my Nexus 7 the following line of code
Logs "True" both when the adapter is disabled (and has been for some time) and when it is enabled.
The docs say:
Disable As Boolean
Turns off the Bluetooth adpater. The adapter will not be immediately disabled. You should use the StateChanged event to monitor the adapter.
This method returns False if the adapter cannot be disabled or is already disabled.
Is that an error in my Nexus or the docs?
PS The spell checker spotted that adpater should be adapter in the docs.
B4X:
Log("Disable="&btAdapter.Disable)
Logs "True" both when the adapter is disabled (and has been for some time) and when it is enabled.
The docs say:
Disable As Boolean
Turns off the Bluetooth adpater. The adapter will not be immediately disabled. You should use the StateChanged event to monitor the adapter.
This method returns False if the adapter cannot be disabled or is already disabled.
Is that an error in my Nexus or the docs?
PS The spell checker spotted that adpater should be adapter in the docs.