name

abstract var name: String?

The local Bluetooth adapter name, or null on error.

This name that is advertised as local name when included in the advertising data.

Throws

If the name set is null.

If the BLUETOOTH_CONNECT permission is denied.