EMOobUserToProviderMessage
Objective-C
@protocol EMOobUserToProviderMessage <EMOobOutgoingMessage, EMOobMessageMeta>
Swift
protocol EMOobUserToProviderMessage : EMOobMessageMeta, EMOobOutgoingMessage
Interface of an outgoing user message to the server.
Since
3.0-
Gets the locale the message content is for.
Since
3.0
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *locale;Swift
var locale: String! { get }Return Value
The locale.
-
Gets the content type..
Since
3.0
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *contentType;Swift
var contentType: String! { get }Return Value
The content type.
-
Gets the message content as a secure byte array.
Since
3.0
Declaration
Objective-C
@property (nonatomic, strong, readonly) id<EMSecureByteArray> content;Swift
var content: (any EMSecureByteArray)! { get }Return Value
The content.
-
Gets the 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 the message subject.
Since
3.0
Declaration
Objective-C
@property (nonatomic, copy, readonly) id<EMSecureString> subject;Swift
@NSCopying var subject: (any EMSecureString)! { get }Return Value
The subject.
-
Gets the creation date.
Since
3.0
Declaration
Objective-C
@property (nonatomic, readonly) NSTimeInterval createTime;Swift
var createTime: TimeInterval { get }Return Value
The creation date.
-
Gets the originator.
Since
3.0
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *from;Swift
var from: String! { get }Return Value
The originator.
-
Gets the recipient.
Since
3.0
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *to;Swift
var to: String! { get }Return Value
The recipient.
-
Gets the response recipient.
Since
3.0
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *replyTo;Swift
var replyTo: String! { get }Return Value
The response recipient.
-
Gets the thread identifier.
Since
3.0
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *threadId;Swift
var threadId: String! { get }Return Value
The thread identifier.
-
Gets the attachments.
Since
3.0
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSArray *attachments;Swift
var attachments: [Any]! { get }Return Value
The attachments.
-
Gets message content in the form of secure string in a specific encoding format.
Since
3.0
Declaration
Objective-C
- (id<EMSecureString>)contentStringWithEncoding:(NSStringEncoding)encoding;Swift
func contentString(withEncoding encoding: UInt) -> (any EMSecureString)!Parameters
encodingA string encoding
Return Value
The content.
EMOobUserToProviderMessage Protocol Reference