Deleting files in the background service [closed]

I need to delete files in the background service after a certain time, is it possible to implement this and in what way?


You can try WorkManager. It will delete your file...