EMGenericIncomingMessage
Objective-C
@interface EMGenericIncomingMessage : EMIncomingMessage
Swift
class EMGenericIncomingMessage : EMIncomingMessage
Interface to an object that contains a generic message received from the OOB server.
Since
5.3-
Get the content type of the generic message.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull contentType;Swift
var contentType: String { get }Return Value
The content type.
-
Gets the content of the generic message.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSData *_Nonnull content;Swift
var content: Data { get }Return Value
The content.
-
Gets message content in form of string.
Declaration
Objective-C
@property (nonatomic, strong, readonly) 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) -> StringParameters
encodingA string encoding.
Return Value
The content.
EMGenericIncomingMessage Class Reference