STWMyBusinessSettingsManager

open class STWMyBusinessSettingsManager

This is a public Class that manage all operations concerning MyBusiness settings

Functions

Link copied to clipboard
open fun enableProcessAutoSave(isProcessAutoSaveEnabled: Boolean, @Nullable callback: STWOperationCallback<MyBusinessError>)
Enable process auto-save feature, to allow application to save automatically the process opened on edit mode.
Link copied to clipboard
open fun getInstance(): STWMyBusinessSettingsManager
Get or create the single instance of STWMyBusinessSettingsManager.
Link copied to clipboard
open fun getMaxProcessFileSize(@NonNull context: Context): Long
Call this method to get the maximum file size (MB) for a file in a process
Link copied to clipboard
open fun getProcessAutoSaveInterval(@NonNull context: Context): Long
Call this method to retrieve the process auto-save interval value (minutes)
Link copied to clipboard
open fun getRetentionPeriod(@NonNull context: Context): Long
Gets the storage retention period for processes in cloud storage
Link copied to clipboard
open fun isAutoCompleteAllowed(@NonNull context: Context): Boolean
Check if process auto completion is allowed or not
Link copied to clipboard
open fun isMyBusinessAllowed(@NonNull context: Context): Boolean
Call this method to check whether the MyBusiness feature is allowed or not
Link copied to clipboard
open fun isProcessAutoSaveEnabled(@NonNull context: Context): Boolean
Call this method to check if the process auto-save option is enabled or not
Link copied to clipboard
open fun registerFeatureAllowChangedListener(@NonNull myBusinessFeatureChangedCallback: STWMyBusinessFeatureAllowChangedListener)
Listen to my business feature changed events.
Link copied to clipboard
open fun registerToProcessAutoComplete(@NonNull listener: STWProcessAutoCompleteListener)
Register to the event related to the update of process auto-complete
Link copied to clipboard
open fun unregisterFeatureAllowChangedListener(@NonNull myBusinessFeatureChangedCallback: STWMyBusinessFeatureAllowChangedListener)
Stop listening to my business feature changed events.
Link copied to clipboard
open fun unregisterToProcessAutoComplete(@NonNull listener: STWProcessAutoCompleteListener)
Unregister a previously registered process auto-complete listener