Development

class Development @JvmOverloads() constructor(dependencies: DittoDependencies, appName: String?, siteID: BigInteger?) : 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.

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.

Constructors

Development
Link copied to clipboard
fun Development(dependencies: DittoDependencies, appName: String? = null, siteID: BigInteger? = null)
the dependencies required by the SDK to be initialised.

Functions

close
Link copied to clipboard
fun close()

Properties

appName
Link copied to clipboard
val appName: String? = null
the name of the app.
authClient
Link copied to clipboard
var authClient: SWIGTYPE_p_CAuthClient? = null
dependencies
Link copied to clipboard
val dependencies: DittoDependencies
the dependencies required by the SDK to be initialised.
siteID
Link copied to clipboard
val siteID: BigInteger? = null
the site ID for the device.