Offline Playground
class OfflinePlayground @JvmOverloads constructor(val dependencies: DittoDependencies, val appId: String? = null, val siteId: BigInteger? = null) : DittoIdentity
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.
app Id
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.
site Id
the site identifier of the peer.
Constructors
Link copied to clipboard