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.
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 ID of the peer.
Constructors
OfflinePlayground
Link copied to clipboard
fun OfflinePlayground(dependencies: DittoDependencies, appID: String? = null, siteID: BigInteger? = null)
Content copied to clipboard