set My Business Auto Deletion Enabled
Call this method to enabled or disable the MyBusiness process Auto-Deletion feature
By enabling the feature, the alarm will be scheduled automatically at the default period, and all processes older than the selected duration, will be instantly deleted
The default period is 6 months
See also
Parameters
context
Context The application context.Content copied to clipboard
enabled
Boolean If the Auto-Deletion feature is enabled, false otherwiseContent copied to clipboard
fun setMyBusinessAutoDeletionEnabled( context: Context, enabled: Boolean, period: MBAutoDeletionPeriod)
Content copied to clipboard
Call this method to enabled or disable the MyBusiness process Auto-Deletion feature with the possibility of defining the period
By enabling the feature, the alarm will be scheduled automatically at the given period, and if the period is not defined the default period will be taken into account, then, all processes older than the selected duration, will be instantly deleted
The default period is 6 months
See also
Parameters
context
Context The application context.Content copied to clipboard
enabled
Boolean If the Auto-Deletion feature is enabled, false otherwiseContent copied to clipboard
period
MBAutoDeletionPeriod The auto deletion periodContent copied to clipboard