OnlinePlayground

fun OnlinePlayground(    dependencies: DittoDependencies,     appID: String,     token: String,     enableDittoCloudSync: Boolean = true)

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

token

a shared token used to set up the OnlinePlayground session. This token is provided by the Ditto portal when setting up the application.

enableDittoCloudSync

if true, auto-configure sync with Ditto Cloud.