Companion

object Companion

Properties

Link copied to clipboard

Returns the app's AILTN name used by the analytics framework

Link copied to clipboard

The active encryption key

Link copied to clipboard

An intent action indicating logout was completed

Link copied to clipboard
const val SDK_VERSION: String

The current version of this SDK

Functions

Link copied to clipboard
fun decrypt(data: String?, key: String?): String?

Decrypts the provided data with the provided key.

Link copied to clipboard
fun encrypt(data: String?, key: String?): String?

Encrypts the provided data with the provided key.

Link copied to clipboard

The instance of the SalesforceSDKManager to use for this process

Link copied to clipboard

Indicates if a Salesforce SDK manager instance is initialized.

Link copied to clipboard

An internal initializer for the Salesforce mobile SDK.

Link copied to clipboard
open fun initNative(context: Context, mainActivity: Class<out Activity>)
fun initNative(context: Context, mainActivity: Class<out Activity>, loginActivity: Class<out Activity>)
fun initNative(context: Context, mainActivity: Class<out Activity>, loginActivity: Class<out Activity>? = null, nativeLoginActivity: Class<out Activity>)

Initializes required components. Native apps must call one overload of this method before using the Salesforce Mobile SDK.

fun initNative(context: Context, mainActivity: Class<out Activity>, googleCloudProjectId: Long)

Initializes required components with Salesforce App Attestation enabled. Native apps must call one overload of this method before using the Salesforce Mobile SDK.

Link copied to clipboard

Allow Kotlin subclasses to set themselves as the instance.