Builder

class Builder(appId: String)

Builder used to construct instances of an AppConfiguration in a fluent manner.

Parameters

appId

the application id of the MongoDB Realm Application.

Constructors

Builder
Link copied to clipboard
fun Builder(appId: String)
the application id of the MongoDB Realm Application.

Functions

baseUrl
Link copied to clipboard
fun baseUrl(baseUrl: String): <ERROR CLASS>
Sets the base url for the MongoDB Realm Application.
build
Link copied to clipboard
fun build(): AppConfiguration
Creates the AppConfiguration from the properties of the builder.
dispatcher
Link copied to clipboard
fun dispatcher(dispatcher: CoroutineDispatcher): <ERROR CLASS>
The dispatcher used to execute internal tasks; most notably remote HTTP requests.
log
Link copied to clipboard
fun log(level: LogLevel = LogLevel.WARN, customLoggers: List<RealmLogger> = emptyList()): <ERROR CLASS>
Configure how Realm will report log events for this App.