FilePickerProvider
Parameters
Context, context of application
default compress, compress will be used if user didn't choose compress
See also
https://developer.android.com/about/versions/13/features/photopicker
Constructors
Functions
Allow user getting one image captured from camera and compress it Moreover, if app has no permission to capture from camera, it will ask user to grant permission
Function get multiple files and return list of Uris
Allow user getting multiple images from gallery and compress Moreover, if app has no permission to access gallery, it will ask user to grant permission
Allow user getting multiple videos from gallery and compress Moreover, if app has no permission to access gallery, it will ask user to grant permission
Function get one file and return Uri
Allow user getting one imaged from gallery and compress it with the information of saved in the instance class Moreover, if app has no permission to access gallery, it will ask user to grant permission
Allow user getting one video from gallery and compress Moreover, if app has no permission to access gallery, it will ask user to grant permission
Allow user getting one image captured from camera and compress it with the information of saved in the instance class Moreover, if app has no permission to capture from camera, it will ask user to grant permission