EMOobUserMessageAttachment Protocol Reference

Conforms to NSObject
Declared in EMOobUserMessageAttachment.h

Overview

Attachment object that can be sent and received by user messages. This comes along with either EMOobProviderToUserMessage or EMOobUserToProviderMessage object in its attachments property.

Locale of the content is defined by the message container.

  subject required method

Gets the subject.

@property (nonatomic, copy, readonly) id<EMSecureString> subject

Return Value

The subject.

Availability

3.0

Declared In

EMOobUserMessageAttachment.h

  contentType required method

Gets the content type.

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

Return Value

The content type.

Availability

3.0

Declared In

EMOobUserMessageAttachment.h

  content required method

Gets the content as secure byte array.

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

Return Value

The content.

Availability

3.0

Declared In

EMOobUserMessageAttachment.h

  contentString required method

Gets message content in form of secure string.

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

Return Value

The content.

Availability

3.0

Declared In

EMOobUserMessageAttachment.h

  meta required method

Gets the meta-data.

@property (nonatomic, copy, readonly) NSDictionary *meta

Return Value

The meta-data.

Availability

3.0

Declared In

EMOobUserMessageAttachment.h

– contentStringWithEncoding: required method

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

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

Parameters

encoding

A string encoding.

Return Value

The content.

Availability

3.0

Declared In

EMOobUserMessageAttachment.h

– wipe required method

Wipes all the sensitive data from memory

- (void)wipe

Availability

3.0

Declared In

EMOobUserMessageAttachment.h