Builder
Builder used to construct instances of an AppConfiguration in a fluent manner.
Parameters
appId
the application id of the MongoDB Realm Application.
Constructors
Functions
baseUrl
Link copied to clipboard
Sets the base url for the MongoDB Realm Application. The default value is DEFAULT_BASE_URL.
build
Link copied to clipboard
Creates the AppConfiguration from the properties of the builder.
dispatcher
Link copied to clipboard
fun dispatcher(dispatcher: CoroutineDispatcher): AppConfiguration.Builder
Content copied to clipboard
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()): AppConfiguration.Builder
Content copied to clipboard
Configure how Realm will report log events for this App.