dittosynckit / live.ditto / DittoSyncKit / deviceName

deviceName

@JvmStatic var deviceName: String

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. It does not need to be unique among peers. Configure the device name before calling start(). If it is too long it will be truncated.