checkFilesPermissions
Requests the correct files permissions (image/video/audio) based on the device's API level.
Parameters
view
The view used to obtain context.
onPermissionResult
Action invoked when the permission request is completed.