System.Permissions.TDisplayRationaleEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDisplayRationaleEvent = procedure(Sender: TObject; const APermissions: TClassicStringDynArray; const APostRationaleProc: TProc) of object;

C++

typedef void __fastcall (__closure *TDisplayRationaleEvent)(System::TObject* Sender, const System::Types::TClassicStringDynArray APermissions, const System::Sysutils::_di_TProc APostRationaleProc);

Properties

Type Visibility Source Unit Parent
type
typedef
public
System.Permissions.pas
System.Permissions.hpp
System.Permissions System.Permissions

Description

Callback type to provide an explanation to the user for the need for a permission.

A rationale string for previously denied permissions that were pre-loaded. 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.

See Also