FMX.Forms.TSaveStateMessage
Delphi
TSaveStateMessage = class(System.Messaging.TMessage);
C++
class PASCALIMPLEMENTATION TSaveStateMessage : public System::Messaging::TMessageBase
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | FMX.Forms |
Description
Dispatched when an application is about to go to background and needs to save its state.
A TSaveStateMessage instance of System.Messaging is globally dispatched to notify when save state data should be saved to persistent storage when an application is about to go to background.
Any global application state on mobile platforms should be saved when processing TSaveStateMessage.
This message is sent by the platform-specific implementation of FMX.Platform on the different supported platforms.
Platform Support
FireMonkey only sends this type of message on Android and iOS platforms.
Windows and OS X do not send this message.