deviceName

Configure a custom identifier for the current device.

When using observePeers(), each remote peer is represented by a short UTF-8 "device name". By default this will be the name of the hardware model (Android) or the network hostname (Java). It does not need to be unique among peers. Configure the device name before calling startSync(). If it is too long it will be truncated.