class Development : DittoIdentity
An identity to be used while in development when you want to control either or both of the app name and the site ID of the peer.
appName
- the name of the app. Use this to ensure that connections between devices are only established if they share the same app name. Note that this is only set if the identity is a development identity.
siteID
- the site ID for the device. Use this to identity different users or devices. Site IDs are persisted between sessions when using a development identity. Site IDs should be unique and not reused by different users or devices.
<init> |
An identity to be used while in development when you want to control either or both of the app name and the site ID of the peer. Development(appName: String? = null, siteID: Long? = null) |
appName |
the name of the app. Use this to ensure that connections between devices are only established if they share the same app name. Note that this is only set if the identity is a development identity. val appName: String? |
siteID |
the site ID for the device. Use this to identity different users or devices. Site IDs are persisted between sessions when using a development identity. Site IDs should be unique and not reused by different users or devices. val siteID: Long? |