FMX.MediaLibrary.Actions.TCustomTakePhotoAction.NeedSaveToAlbum
Delphi
property NeedSaveToAlbum: Boolean read FNeedSaveToAlbum write FNeedSaveToAlbum default DefaultNeedSaveToAlbum;
C++
__property bool NeedSaveToAlbum = {read=FNeedSaveToAlbum, write=FNeedSaveToAlbum, default=0};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | protected | FMX.MediaLibrary.Actions.pas FMX.MediaLibrary.Actions.hpp |
FMX.MediaLibrary.Actions | TCustomTakePhotoAction |
Description
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).