requestPermissions property
The requestPermissions
callback allows you to request
the necessary permissions to record a track.
If requestPermissions
is null then no permission checks
will be performed.
It is sometimes useful to explain to the user why we are asking for permission before showing the OSs permission request. This callback gives you the opportunity to display a suitable notice and then request permissions.
Return true
to indicate that the user has given permission
to record and that you have made the necessary calls to
grant those permissions.
If true
is returned the recording will proceed.
If false
is returned then recording will not start.
This method will be called even if we have the necessary permissions as we make no checks.
Implementation
final UIRequestPermission? requestPermissions;