FMX.MediaLibrary.Actions.TTakePhotoFromCameraAction.NeedSaveToAlbum
Delphi
property NeedSaveToAlbum: Boolean read FNeedSaveToAlbum write FNeedSaveToAlbum default 0;
C++
__property NeedSaveToAlbum = {default=0};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | FMX.MediaLibrary.Actions.pas FMX.MediaLibrary.Actions.hpp |
FMX.MediaLibrary.Actions | TTakePhotoFromCameraAction |
Description
Specifies whether to save photos from a device camera to the device Photo Library.
FMX.MediaLibrary.Actions.TTakePhotoFromCameraAction.NeedSaveToAlbum inherits from FMX.MediaLibrary.Actions.TCustomTakePhotoAction.NeedSaveToAlbum. All content below this line refers to FMX.MediaLibrary.Actions.TCustomTakePhotoAction.NeedSaveToAlbum.
Specifies whether to save photos from a device camera to the device Photo Library.
When NeedSaveToAlbum is set to False (default value), your application cannot save photos taken by a device camera to Photo Library. You can only view these photos.
To let your application save these photos, set this property to True.
For more information and samples, see Mobile Tutorial: Taking and Sharing a Picture, and Sharing Text (iOS and Android).