Class of android.bluetooth · BluetoothAdapter.java · Android's reference
public final class BluetoothAdapter
The Bluetooth radio (Off in docs/platforms/android-apps/interfaces.md). The device has none, so getDefaultAdapter answers null.
public static final int STATE_OFF = 10 sourcepublic static final int STATE_TURNING_ON = 11 sourcepublic static final int STATE_ON = 12 sourcepublic static final int STATE_TURNING_OFF = 13 sourcepublic static final String ACTION_STATE_CHANGED = "android.bluetooth.adapter.action.STATE_CHANGED" sourcepublic static final String EXTRA_STATE = "android.bluetooth.adapter.extra.STATE" sourcepublic static BluetoothAdapter getDefaultAdapter() sourcepublic boolean isEnabled() sourcepublic int getState() sourcepublic boolean getProfileProxy(Context context, BluetoothProfile.ServiceListener listener, int profile) sourcepublic void closeProfileProxy(int profile, BluetoothProfile proxy) empty body sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.