OnlinePlayground

class OnlinePlayground @JvmOverloads() constructor(dependencies: DittoDependencies, appID: UUID, enableDittoCloudSync: Boolean) : DittoIdentity

Test a Ditto Cloud app without authentication ("Playground mode"). This mode offers no security and must only be used for development.

Parameters

dependencies

the dependencies required by the SDK to be initialised.

appID

a UUID identifying this app registration on the Ditto portal, which can be found at https://portal.ditto.live

enableDittoCloudSync

if true, auto-configure sync with Ditto Cloud.

Constructors

OnlinePlayground
Link copied to clipboard
fun OnlinePlayground(dependencies: DittoDependencies, appID: UUID, enableDittoCloudSync: Boolean = true)
the dependencies required by the SDK to be initialised.

Functions

close
Link copied to clipboard
fun close()

Properties

appID
Link copied to clipboard
val appID: UUID
a UUID identifying this app registration on the Ditto portal, which can be found at https://portal.ditto.
dependencies
Link copied to clipboard
val dependencies: DittoDependencies
the dependencies required by the SDK to be initialised.
enableDittoCloudSync
Link copied to clipboard
val enableDittoCloudSync: Boolean = true
if true, auto-configure sync with Ditto Cloud.