Package-level declarations

Types

Link copied to clipboard

Provider for Bluetooth read tools: GetBluetoothStatusTool and ListPairedDevicesTool. Requires BLUETOOTH_CONNECT on API 31+ (Android S), legacy BLUETOOTH below that.

Link copied to clipboard

Reports Bluetooth adapter status. Reading adapter_name/adapter_address needs the Bluetooth permission (see BluetoothTools); they return null if it is missing. adapter_address is also null on API 26+ when the platform's anonymized dummy value (02:00:00:00:00:00) is all a non-privileged caller ever gets back.

Link copied to clipboard

Lists bonded (paired) Bluetooth devices. Requires BLUETOOTH_CONNECT (API 31+) and an enabled adapter; errors otherwise.