Package ipfs.gomobile.android.bledriver

## Class DeviceManager

- java.lang.Object
- - ipfs.gomobile.android.bledriver.DeviceManager

-     public class DeviceManager
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DeviceManager​(Logger logger)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `closeAllDeviceConnections()` |
    `void` | `closeDeviceConnection​(java.lang.String pid)` |
    `PeerDevice` | `get​(java.lang.String macAddress)` |
    `PeerDevice` | `getById​(java.lang.String id)` |
    `PeerDevice` | `getByPID​(java.lang.String pid)` |
    `PeerDevice` | `put​(java.lang.String macAddress, PeerDevice value)` |
    `void` | `remove​(java.lang.String macAddress)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DeviceManager

          public DeviceManager​(Logger logger)

  - ### Method Detail

    - #### put

          public PeerDevice put​(java.lang.String macAddress,
                                PeerDevice value)

    - #### get

          public PeerDevice get​(java.lang.String macAddress)

    - #### getById

          public PeerDevice getById​(@NonNull
                                    java.lang.String id)

    - #### getByPID

          public PeerDevice getByPID​(@NonNull
                                     java.lang.String pid)

    - #### closeDeviceConnection

          public void closeDeviceConnection​(java.lang.String pid)

    - #### closeAllDeviceConnections

          public void closeAllDeviceConnections()

    - #### remove

          public void remove​(java.lang.String macAddress)