System.Permissions.TDisplayRationaleEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

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

Properties

Type Visibility Source Unit Parent
typedef public 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