public class BasicUuidNameMap extends Object implements UuidNameMap
UuidNameMap that's basically just a HashMap.
Provide an instance to BleManagerConfig.uuidNameMaps if desired.| Constructor and Description |
|---|
BasicUuidNameMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String uuid,
String name)
Add a
UUID-to-debug name entry. |
String |
getUuidName(String uuid)
Returns the name of the
UUID to be used for logging/debugging purposes, for example "BATTERY_LEVEL". |
public String getUuidName(String uuid)
UuidNameMapUUID to be used for logging/debugging purposes, for example "BATTERY_LEVEL".getUuidName in interface UuidNameMap