FMX.MediaLibrary.Actions.TTakePhotoFromCameraAction

From RAD Studio API Documentation
Jump to: navigation, search

FMX.MediaLibrary.Actions.TCustomTakePhotoActionFMX.StdActns.TSysCommonActionFMX.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionTTakePhotoFromCameraAction

Delphi

TTakePhotoFromCameraAction = class(TCustomTakePhotoAction)

C++

class PASCALIMPLEMENTATION TTakePhotoFromCameraAction : public TCustomTakePhotoAction

Properties

Type Visibility Source Unit Parent
class public
FMX.MediaLibrary.Actions.pas
FMX.MediaLibrary.Actions.hpp
FMX.MediaLibrary.Actions FMX.MediaLibrary.Actions

Description

TTakePhotoFromCameraAction is the standard action for taking photos from the camera device.

Write an event handler for OnDidFinishTaking to manage the taken photo.

When clicking on the control to which a TTakePhotoFromCameraAction is attached, the camera window is displayed and allows the user to choose the camera to be used (front or back) and to take a photo.

TTakePhotoFromCameraAction can be found in Action List editor, in the Media Library section.

See Also

Code Examples