Everyone know that Files are permanently deleted in android. Now trash folder is included in Android 11 and deleted files will be stored like recycle bin in Windows. Files in trash folder will last 30 days and automatically deleted after 30 days. Hence, files which are accidentally deleted can be recovered in trash folder.
This feature is added in Android 11 developer preview and the life of deleted files are shown as 7 days. Now in Android 11 beta, trash folder can store the files 30 days.
Currently, trash folder is still in hidden folder and need to be supported by App developers to recover deleted files. Generally, apps like file manager will support this feature.