serviceData property
UnmodifiableMapView<String, ByteData>
get
serviceData
Some devices send service data in their advertisements. For example a heart rate sensor may advertise the current heart rate it is detecting.
These values will show up in this map. The key is the UUID of the service that has been reported and the value is ByteData that contains the value for this service. How to interpret this data depends on the data send and also the service.
The service UUIDS must be described in the RequestOptions.optionalServices or BluetoothScanFilter.services or else they will be filtered out even though the device may support them.
Implementation
UnmodifiableMapView<String, ByteData> get serviceData;