initHybrid

open fun initHybrid(context: Context)

Initializes components required for this class to properly function. This method should be called by hybrid apps using the Salesforce Mobile SDK.

Parameters

context

Application context.


open fun initHybrid(context: Context, loginActivity: Class<out Activity>)

Initializes components required for this class to properly function. This method should be called by hybrid apps using the Salesforce Mobile SDK.

Parameters

context

Application context.

loginActivity

Login activity.


open fun initHybrid(context: Context, mainActivity: Class<out SalesforceDroidGapActivity>, loginActivity: Class<out Activity>)

Initializes components required for this class to properly function. This method should be called by hybrid apps that use a subclass of SalesforceDroidGapActivity.

Parameters

context

Application context.

mainActivity

Main activity.

loginActivity

Login activity.