EMOobGenericOutgoingMessage

Objective-C

@protocol EMOobGenericOutgoingMessage <EMOobOutgoingMessage>

Swift

protocol EMOobGenericOutgoingMessage : EMOobOutgoingMessage

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

Since

3.0
  • Gets the content type of the generic message.

    Since

    3.0

    Declaration

    Objective-C

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

    Swift

    var contentType: String! { get }

    Return Value

    The content type.

  • Gets the content of the generic message.

    Since

    3.0

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) id<EMSecureByteArray> content;

    Swift

    var content: (any EMSecureByteArray)! { get }

    Return Value

    The content.

  • Gets message content in form of secure string.

    Since

    3.0

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) id<EMSecureString> contentString;

    Swift

    var contentString: (any EMSecureString)! { get }

    Return Value

    The content.

  • Gets message content in form of secure string in specific encoding format.

    Since

    3.0

    Declaration

    Objective-C

    - (id<EMSecureString>)contentStringWithEncoding:(NSStringEncoding)encoding;

    Swift

    func contentString(withEncoding encoding: UInt) -> (any EMSecureString)!

    Parameters

    encoding

    A string encoding.

    Return Value

    The content.