fetchLayout
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.
Parameters
objectAPIName
Object API name.
formFactor
Form factor. Could be "Large", "Medium" or "Small". Default value is "Large".
layoutType
Layout type. Could be "Compact" or "Full". Default value is "Full".
mode
Mode. Could be "Create", "Edit" or "View". Default value is "View".
recordTypeId
Record type ID. Default will be used if not supplied.
syncMode
Sync fetch mode. See com.salesforce.androidsdk.mobilesync.util.Constants.Mode for available modes.
syncCallback
Layout sync callback.