System.Permissions.TDisplayRationaleProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDisplayRationaleProc = reference to procedure(const APermissions: TClassicStringDynArray; const APostRationaleProc: TProc);

C++

__interface TDisplayRationaleProc  : public System::IInterface

Properties

Type Visibility Source Unit Parent
anonMethod
class
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 anonymous procedure.

See Also