EMMessage

@protocol EMMessage

Interface of message container.

Since

5.3
  • Get the message MIME type. It determines how the message will be serialized/deserialized.

    Declaration

    Objective-C

    @required
    @property (readonly, copy, nonatomic) NSString *_Nonnull messageMIMEType;

    Swift

    var messageMIMEType: String { get }

    Return Value

    The message MIME type.

  • Get the message identifier.

    Declaration

    Objective-C

    @required
    @property (readonly, copy, nonatomic) NSString *_Nonnull messageId;

    Swift

    var messageId: String { get }

    Return Value

    The message identifier.

  • Gets the message expiration date.

    Declaration

    Objective-C

    @required
    @property (readonly, copy, nonatomic) NSString *_Nonnull providerId;

    Swift

    var providerId: String { get }

    Return Value

    The expiration date in NSTimeInterval.

  • Wipes out the sensitive data from memory content.

    Declaration

    Objective-C

    - (void)wipe;

    Swift

    func wipe()