Online Playground V2
class OnlinePlaygroundV2 @JvmOverloads constructor(dependencies: DittoDependencies, appID: String, token: String, enableDittoCloudSync: Boolean) : DittoIdentity
Content copied to clipboard
Test a Ditto Cloud app with weak shared token authentication ("Playground mode"). This mode is not secure and must only be used for development.
Parameters
dependencies
the dependencies required by the SDK to be initialised.
app ID
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.
enable Ditto Cloud Sync
if true, auto-configure sync with Ditto Cloud.
Constructors
OnlinePlaygroundV2
Link copied to clipboard
fun OnlinePlaygroundV2(dependencies: DittoDependencies, appID: String, token: String, enableDittoCloudSync: Boolean = true)
Content copied to clipboard