bluetoothAdvertise constant
AndroidPermissionDef
const bluetoothAdvertise
android.permission.BLUETOOTH_ADVERTISE
Required to advertise the device over Bluetooth. Runtime permission: true Since SDK: 31 Group: bluetooth_advertise Associated service: bluetooth Legacy mapping: BLUETOOTH_ADMIN on pre-Android 12
Implementation
static const bluetoothAdvertise = AndroidPermissionDef(
'android.permission.BLUETOOTH_ADVERTISE',
sinceSDK: 31,
runtime: true,
group: 'bluetooth_advertise',
service: AssociatedService.bluetooth,
keywords: {'advertise', 'broadcast', 'beacon'},
legacyKeys: {'android.permission.BLUETOOTH_ADMIN': 30},
docNotes: {
'Required to advertise the device over Bluetooth',
'On Pre-Android 12 devices, this permission is mapped to BLUETOOTH_ADMIN',
},
);