EMGenericOutgoingMessage

@interface EMGenericOutgoingMessage : EMOutgoingMessage

Interface to an object that contains a generic message to send to the OOB server.

Since

5.3
  • Gets the content type of the generic message.

    Declaration

    Objective-C

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

    Swift

    var contentType: String { get }

    Return Value

    The content type.

  • Gets the content of the generic message.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSData *_Nonnull content;

    Swift

    var content: Data { get }

    Return Value

    The content.

  • Gets message content in form of string.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull contentString;

    Swift

    var contentString: String { get }

    Return Value

    The content.

  • Gets message content in specific encoding format.

    Declaration

    Objective-C

    - (nonnull NSString *)contentStringWithEncoding:(NSStringEncoding)encoding;

    Swift

    func contentString(encoding: UInt) -> String

    Parameters

    encoding

    A string encoding.

    Return Value

    The content.