device Name
Configure a custom identifier for this peer.
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).
Changes to this property after startSync()
was called will only take effect after the next restart of sync. The value does not need to be unique among peers. Device names longer than 24 bytes will be truncated once startSync()
is called.