Offline Playground
class OfflinePlayground @JvmOverloads() constructor(dependencies: DittoDependencies, appID: String?, siteID: BigInteger?) : DittoIdentity
Content copied to clipboard
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
OfflinePlayground
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
the dependencies required by the SDK to be initialised.