Development

class Development @JvmOverloads constructor(dependencies: DittoDependencies, appID: String?, siteID: BigInteger?) : DittoIdentity

Deprecated - use OfflinePlayground instead.

Develop peer-to-peer apps with no cloud connection. This mode offers no security and must only be used for development. In this mode, any string can be used as the name of the app.

Parameters

dependencies

the dependencies required by the SDK to be initialised.

appID

the name of the app. If you are developing multiple apps, use distinct names to ensure they do not attempt to connect and sync with each other.

siteID

the site ID of the peer.

Constructors

Development
Link copied to clipboard
fun Development(dependencies: DittoDependencies, appID: String? = null, siteID: BigInteger? = null)

Functions

close
Link copied to clipboard
fun close()
requiresOfflineLicenseToken
Link copied to clipboard
fun requiresOfflineLicenseToken(): Boolean

Properties

appID
Link copied to clipboard
val appID: String? = null
dependencies
Link copied to clipboard
val dependencies: DittoDependencies
siteID
Link copied to clipboard
val siteID: BigInteger? = null