PWMEZoneMessage Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCopying NSSecureCoding |
| Declared in | PWMEZoneMessage.h |
alertTitle
Returns the alert title of this message.
@property (readonly, nonnull) NSString *alertTitleReturn Value
The alert title of this message.
Declared In
PWMEZoneMessage.h
alertBody
Returns the alert body of this message.
@property (readonly, nonnull) NSString *alertBodyReturn Value
The alert body of this message.
Declared In
PWMEZoneMessage.h
promotionTitle
Returns the promotion title of this message.
@property (readonly, nullable) NSString *promotionTitleReturn Value
The promotion title of this message.
Declared In
PWMEZoneMessage.h
promotionBody
Returns the promotion body of this message. The value returned by this method is usually HTML.
@property (readonly, nullable) NSString *promotionBodyReturn Value
The body of this message.
Discussion
To mark this message as read, pass this message to the PWMEZoneMessageManager readMessage: method.
Declared In
PWMEZoneMessage.h
metaData
Returns the metadata associated with the message.
@property (readonly, nonnull) NSDictionary<NSString*id> *metaDataReturn Value
Returns the metadata of this message.
Declared In
PWMEZoneMessage.h
identifier
Returns the internal unique identifier of the message. This identifier also idenfities the campaign this message was sent for.
@property (readonly, nullable) NSString *identifierReturn Value
The internal unique identifier message.
Discussion
There can be at most one message associated with a campaign at any given time.
Declared In
PWMEZoneMessage.h
campaignType
A string containing the campaign type of the message.
@property (readonly, nonnull) NSString *campaignTypeReturn Value
A string containing the campaign type of the message.
Declared In
PWMEZoneMessage.h
timestamp
Returns the timestamp identifying when the message is saved.
@property (readonly, nullable) NSDate *timestampReturn Value
the timestamp identifying when the message is saved.
Declared In
PWMEZoneMessage.h