EMOobProviderToUserMessage Protocol Reference
| Conforms to | EMOobIncomingMessage EMOobMessageMeta |
|---|---|
| Declared in | EMOobProviderToUserMessage.h |
locale
required method
Gets the locale the message content is for.
@property (nonatomic, copy, readonly) NSString *localeReturn Value
The locale.
Availability
3.0
Declared In
EMOobProviderToUserMessage.h
contentType
required method
content
required method
Gets message content as secure byte array.
@property (nonatomic, strong, readonly) id<EMSecureByteArray> contentReturn Value
The content.
Availability
3.0
Declared In
EMOobProviderToUserMessage.h
contentString
required method
subject
required method
Gets message subject
@property (nonatomic, copy, readonly) id<EMSecureString> subjectReturn Value
The subject.
Availability
3.0
Declared In
EMOobProviderToUserMessage.h
createTime
required method
Gets the message creation date.
@property (nonatomic, assign, readonly) NSTimeInterval createTimeReturn Value
The creation date.
Availability
3.0
Declared In
EMOobProviderToUserMessage.h
from
required method
Gets the message originator.
@property (nonatomic, copy, readonly) NSString *fromReturn Value
The originator.
Availability
3.0
Declared In
EMOobProviderToUserMessage.h
to
required method
Gets the message recipient.
@property (nonatomic, copy, readonly) NSString *toReturn Value
The recipient.
Availability
3.0
Declared In
EMOobProviderToUserMessage.h
replyTo
required method
Gets the recipient to use for a response.
@property (nonatomic, copy, readonly) NSString *replyToReturn Value
The response’s recipient.
Availability
3.0
Declared In
EMOobProviderToUserMessage.h
threadId
required method
Gets the message thread identifier.
@property (nonatomic, copy, readonly) NSString *threadIdReturn Value
The thread identifier.
Availability
3.0
Declared In
EMOobProviderToUserMessage.h
attachments
required method
Gets messages attachments.
@property (nonatomic, copy, readonly) NSArray *attachmentsReturn Value
The attachments.
Availability
3.0
Declared In
EMOobProviderToUserMessage.h
– contentStringWithEncoding:
required method
– createResponseWithLocale:createTime:subject:from:contentType:content:attachments:meta:
required method
Create an outgoing response for the current message.
- (id<EMOobUserToProviderMessage>)createResponseWithLocale:(NSString *)aLocale createTime:(NSTimeInterval)aCreateTime subject:(id<EMSecureString>)aSubject from:(NSString *)aFrom contentType:(NSString *)aContentType content:(id<EMSecureByteArray>)aContent attachments:(NSArray *)anAttachments meta:(NSDictionary *)aMetaParameters
aLocale |
|
|---|---|
aCreateTime |
Message creation time. If |
aSubject |
Message subject. |
aFrom |
Message originator. Can be |
aContentType |
Message content-type. |
aContent |
Message content. |
anAttachments |
Array of attachments to the message. Can be |
aMeta |
Meta data for the message. Can be |
Return Value
The outgoing message ready to be sent.
Availability
3.0
Discussion
The recipient field (to) of the created message is set to the value of the
response recipient (replyTo) of the incoming message.
The response thread identifier field (threadId) is set to the same value
than the incoming message.
Declared In
EMOobProviderToUserMessage.h