setMyBusinessAutoDeletionEnabled

fun setMyBusinessAutoDeletionEnabled(context: Context, enabled: Boolean)

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.
enabled
    Boolean If the Auto-Deletion feature is enabled, false otherwise

fun setMyBusinessAutoDeletionEnabled(    context: Context,     enabled: Boolean,     period: MBAutoDeletionPeriod)

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.
enabled
    Boolean If the Auto-Deletion feature is enabled, false otherwise
period
    MBAutoDeletionPeriod The auto deletion period