setMyBusinessAutoDeletionPeriod

fun setMyBusinessAutoDeletionPeriod(context: Context, period: MBAutoDeletionPeriod)

Set the MyBusiness process Auto-Deletion period, If My business auto deletion is already enabled, the automatic deletion will be re-configured automatically Otherwise, only the new period will be saved as well

Return

Int the auto deletion period

See also

    
        {@link MBAutoDeletionUnit.MINUTE} :  Minute interval unit
        {@link MBAutoDeletionUnit.HOUR} :  Hour interval unit
        {@link MBAutoDeletionUnit.DAY} :  Day interval unit
        {@link MBAutoDeletionUnit.MONTH} :  Month interval unit
    <   li>{@link MBAutoDeletionUnit.YEAR} :  year interval unit
    

Parameters

context
    Context The application context.