Development
class Development @JvmOverloads() constructor(dependencies: DittoDependencies, appName: String?, siteID: BigInteger?) : DittoIdentity
Content copied to clipboard
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
@JvmOverloads()
Content copied to clipboard
the dependencies required by the SDK to be initialised.
Functions
Properties
authClient
Link copied to clipboard
dependencies
Link copied to clipboard
siteID
Link copied to clipboard