FMX.Platform.TPushNotificationMessageBase

From RAD Studio API Documentation
Jump to: navigation, search

System.Messaging.TMessageSystem.Messaging.TMessageBaseSystem.TObjectTPushNotificationMessageBase

Delphi

TPushNotificationMessageBase = class (System.Messaging.TMessage<TPushNotificationData>);

C++

class PASCALIMPLEMENTATION TPushNotificationMessageBase : public System::Messaging::TMessage__1<TPushNotificationData>

Properties

Type Visibility Source Unit Parent
class public
FMX.Platform.pas
FMX.Platform.hpp
FMX.Platform FMX.Platform

Description

Represents the base class for all messages.

FMX.Platform.TPushNotificationMessageBase inherits from System.Messaging.TMessage. All content below this line refers to System.Messaging.TMessage.

Represents the base class for all messages.

TMessage represents the base class used for message purposes. It can be inherited in order to send custom messages.

Warning: For C++ projects, use TMessageBase instead.

Using Objects as Contents

The contents of a TMessage can be of any type, including classes. However, when you create a TMessage with an object as value, TMessage does not take ownership of the object; you must delete the object yourself, and ensure that the message has been deleted first. TObjectMessage, a subclass of TMessage, allows messages to take ownership of their contents.

See Also