LayoutSyncManager

Provides an easy way to fetch layout data using com.salesforce.androidsdk.mobilesync.target.LayoutSyncDownTarget. This class handles creating a soup, storing synched data and reading it into a meaningful data structure, i.e. com.salesforce.androidsdk.mobilesync.model.Layout.

Author

bhariharan

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Callback interface for layout sync.

Properties

Link copied to clipboard

Returns the SmartStore instance used by this instance of LayoutSyncManager.

Link copied to clipboard

Returns the SyncManager instance used by this instance of LayoutSyncManager.

Functions

Link copied to clipboard
fun fetchLayout(objectAPIName: String, formFactor: String, layoutType: String, mode: String, recordTypeId: String?, syncMode: Constants.Mode, syncCallback: LayoutSyncManager.LayoutSyncCallback)

Fetches layout data for the specified parameters using the specified sync mode and triggers the supplied callback once complete.