initNative
Initializes components required for this class to properly function. This method should be called by native apps using the Salesforce Mobile SDK.
Parameters
context
Application context.
mainActivity
Activity that should be launched after the login flow.
open fun initNative(context: Context, mainActivity: Class<out Activity>, loginActivity: Class<out Activity>)
Initializes components required for this class to properly function. This method should be called by native apps using the Salesforce Mobile SDK.
Parameters
context
Application context.
mainActivity
Activity that should be launched after the login flow.
loginActivity
Login activity.
open fun initNative(context: Context, mainActivity: Class<out Activity>, loginActivity: Class<out Activity>, nativeLoginActivity: Class<out Activity>)
Initializes components required for this class to properly function. This method should be called by native apps using the Salesforce Mobile SDK.
Parameters
context
Application context.
mainActivity
Activity that should be launched after the login flow.
loginActivity
Login activity.
nativeLoginActivity
Native login activity.