AppConfiguration

interface AppConfiguration

An AppConfiguration is used to setup linkage to an Atlas App Services Application.

Instances of an AppConfiguration can be created by using the AppConfiguration.Builder and calling its AppConfiguration.Builder.build method or by using AppConfiguration.create.

Types

Builder
Link copied to clipboard
class Builder(appId: String)

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

Companion
Link copied to clipboard
object Companion

Properties

appId
Link copied to clipboard
abstract val appId: String
appName
Link copied to clipboard
abstract val appName: String?

The name of app. This is only used for debugging.

appVersion
Link copied to clipboard
abstract val appVersion: String?

The version of the app. This is only used for debugging.

baseUrl
Link copied to clipboard
abstract val baseUrl: String
ejson
Link copied to clipboard
abstract val ejson: <ERROR CLASS>

The default EJson decoder that would be used to encode and decode arguments and results when calling remote App Functions, authenticating with a customFunction, and retrieving a user profile or customData.

encryptionKey
Link copied to clipboard
abstract val encryptionKey: ByteArray?
httpLogObfuscator
Link copied to clipboard
abstract val httpLogObfuscator: HttpLogObfuscator?

The configured HttpLogObfuscator for this app. If this property returns null no obfuscator is being used.

metadataMode
Link copied to clipboard
abstract val metadataMode: <ERROR CLASS>
syncRootDirectory
Link copied to clipboard
abstract val syncRootDirectory: String