SMIConversation
Objective-C
@protocol SMIConversation
Swift
protocol Conversation
Protocol that represents a conversation.
-
The conversation ID, which is used to associate all messages and events with a given conversation.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSUUID *_Nonnull identifier;
Swift
var identifier: UUID { get }
-
The list of participants that are associated with a given conversation.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<id<SMIParticipant>> *_Nonnull participants;
Swift
var participants: [Participant] { get }
-
The list of pre-chat fields that are associated with a given conversation.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<id<SMIPreChatField>> *_Nonnull preChatFields;
Swift
var preChatFields: [PreChatField] { get }
-
The list of hidden pre-chat fields that are associated with a given conversation.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<id<SMIHiddenPreChatField>> *_Nonnull hiddenPreChatFields;
Swift
var hiddenPreChatFields: [HiddenPreChatField] { get }
-
The API Name for the embedded service deployment associated with this configuration.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull developerName;
Swift
var developerName: String { get }
-
The current status of the conversation.
Declaration
Objective-C
@property (nonatomic, readonly) SMIConversationStatus status;
Swift
var status: SMIConversationStatus { get }
-
Holds a reference to a
SMIConversationEntry
representing what has been marked as read by the consuming client.Note
Outbound in this case refers to the direction of the read acknowledgement. It is the logical reverse of the direction of the message itself.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) id<SMIConversationEntry> outboundHighWaterMark;
Swift
var outboundHighWaterMark: ConversationEntry? { get }
-
Holds a reference to a
SMIConversationEntry
representing what has been marked as read by the remote participant.Note
Inbound in this case refers to the direction of the read acknowledgement. It is the logical reverse of the direction of the message itself.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) id<SMIConversationEntry> inboundHighWaterMark;
Swift
var inboundHighWaterMark: ConversationEntry? { get }