CoreConfiguration

@JsonClass(generateAdapter = true)
data class CoreConfiguration(@Json(name = "Url") val serviceAPI: URL, @Json(name = "OrganizationId") val organizationId: String, @Json(name = "DeveloperName") val developerName: String, val isUserVerificationRequired: Boolean = false, val remoteLocaleMap: Map<String, String> = emptyMap()) : Configuration

Configuration used to create a CoreClient instance.

Parameters

serviceAPI

The service API endpoint URL.

organizationId

Your Salesforce org ID.

developerName

The API Name for the embedded service deployment associated with this configuration.

isUserVerificationRequired

Denotes the deployment as being configured for verified users.

remoteLocaleMap

The localization map used for resolving the language for custom labels returned when requesting a RemoteConfiguration.

See also

Constructors

Link copied to clipboard
constructor(serviceAPI: String, organizationId: String, developerName: String, isUserVerificationRequired: Boolean = false, remoteLocaleMap: Map<String, String> = emptyMap())

Creates a configuration object that is used to create a CoreClient instance.

constructor(configuration: Configuration)

Creates a configuration object that is used to create a CoreClient instance.

constructor(@Json(name = "Url") serviceAPI: URL, @Json(name = "OrganizationId") organizationId: String, @Json(name = "DeveloperName") developerName: String, isUserVerificationRequired: Boolean = false, remoteLocaleMap: Map<String, String> = emptyMap())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val developerName: String
Link copied to clipboard
@Transient
open override val isUserVerificationRequired: Boolean = false
Link copied to clipboard
open override val organizationId: String
Link copied to clipboard
@Transient
open override val remoteLocaleMap: Map<String, String>
Link copied to clipboard
open override val serviceAPI: URL

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)