Offline Playground
class OfflinePlayground @JvmOverloads constructor( val dependencies: DittoDependencies, val appId: String? = null, val siteId: BigInteger? = null) : 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 identifier of the peer.
Constructors
Link copied to clipboard
fun OfflinePlayground( dependencies: DittoDependencies, appId: String? = null, siteId: BigInteger? = null)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected fun validateResult(result: IdentityConfigResult_t): SWIGTYPE_p_CIdentityConfig
Content copied to clipboard