Development

fun Development(dependencies: DittoDependencies, appName: String? = null, siteID: BigInteger? = null)

Parameters

dependencies

the dependencies required by the SDK to be initialised.

appName

the name of the app. Use this to ensure that connections between devices are only established if they share the same app name.

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.