The IS_PENDING flag allows a file to not be visible to others applications until it has been processed like when you're still saving its content (see documentation).
The flag is only available from API 29+ but could possible be emulated on previous Android versions by following this scenario:
Save the file content first in the app cache directory
The
IS_PENDING
flag allows a file to not be visible to others applications until it has been processed like when you're still saving its content (see documentation).The flag is only available from API 29+ but could possible be emulated on previous Android versions by following this scenario: