TRequestPermissionsResultProc = reference to procedure(const APermissions: TClassicStringDynArray; const AGrantResults: TClassicPermissionStatusDynArray);
__interface TRequestPermissionsResultProc : public System::IInterface
Callback type for providing an explanation to the user for the need for a permission.
For previously denied permissions with a pre-loaded rationale string, this callback provides the opportunity to display it, but it has to be done asynchronously.
When the rationale display is over, be sure to call the
APostRationalProc routine, which will then request the required permissions. This type is compatible with an event handler method.
For each requested permission in
APermissions, there is a Boolean in
AGrantResults indicating if the permission was granted. This type is compatible with an anonymous procedure.