MessageContext
public final class MessageContext: NSObject
Represents what happened to the messages.
Since
3.1.0-
Event source
Declaration
Swift
public private(set) var source: CollectionEventSource -
Message sending status
Declaration
Swift
public private(set) var sendingStatus: MessageSendingStatus -
Initializes with the message source.
Declaration
Swift
public init(source: CollectionEventSource, sendingStatus: MessageSendingStatus)Parameters
sourceMessage source.
sendingStatusMessage sending status.
-
Checks whether the context is from an event or not.
Declaration
Swift
public var fromEvent: BoolReturn Value
trueif the context is from an event.
View on GitHub
Install in Dash