FMX.MediaLibrary.Actions.TCustomTakePhotoAction

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

FMX.StdActns.TSysCommonActionFMX.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentTCustomTakePhotoAction

Delphi

TCustomTakePhotoAction = class(TSysCommonAction)

C++

class PASCALIMPLEMENTATION TCustomTakePhotoAction : public Fmx::Stdactns::TSysCommonAction

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
class public
FMX.MediaLibrary.Actions.pas
FMX.MediaLibrary.Actions.hpp
FMX.MediaLibrary.Actions FMX.MediaLibrary.Actions

Beschreibung

TCustomTakePhotoAction ist die Basisklasse für Aktionen zum Aufnehmen von Fotos.

TCustomTakePhotoAction führt die Unterstützung für zwei Ereignisse ein:

  • OnDidCancelTaking – dient der Verwaltung von Aktionen, wenn das Aufnehmen von Fotos abgebrochen wurde.
  • OnDidFinishTaking – dient der Verwaltung von Aktionen nach dem Aufnehmen von Fotos.

Es gibt zwei Möglichkeiten, in Anwendungen Fotos aufzunehmen:

Erstellen Sie keine Instanzen von TCustomTakePhotoAction. Verwenden Sie beim Deklarieren von Aktionen, die dem Benutzer das Aufnehmen von Fotos ermöglichen, TCustomTakePhotoAction als Basisklasse.

Siehe auch