OnlinePlayground

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

Deprecated - use OnlinePlaygroundV2 instead.

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: String, enableDittoCloudSync: Boolean = true)

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
dependencies
Link copied to clipboard
val dependencies: DittoDependencies
enableDittoCloudSync
Link copied to clipboard
val enableDittoCloudSync: Boolean = true