FMX.MediaLibrary.Actions.TCustomTakePhotoAction.HandlesTarget
Delphi
function HandlesTarget(Target: TObject): Boolean; override;
C++
virtual bool __fastcall HandlesTarget(System::TObject* Target);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.MediaLibrary.Actions.pas FMX.MediaLibrary.Actions.hpp |
FMX.MediaLibrary.Actions | TCustomTakePhotoAction |
Description
Indicates whether the action can execute its function.
Do not call the HandlesTarget method. This method is called automatically when the user invokes an object that is linked to this action. The HandlesTarget method provides an action object with an opportunity to indicate whether it is appropriate to execute at this time with the object specified by the Target
parameter as a "target".
Target
is the currently active object.
In TCustomTakePhotoAction, HandlesTarget ignores the Target
parameter, and returns True.