NotificationContext

@objc(SBDNotificationContext)
public class NotificationContext : NSObject

Represents what happened to the messages.

Since

4.6.0
  • Event source

    Declaration

    Swift

    @objc
    public private(set) var source: CollectionEventSource { get }
  • Initializes with the message source.

    Declaration

    Swift

    public init(source: CollectionEventSource)

    Parameters

    source

    Message source.

    sendingStatus

    Message sending status.

  • Checks whether the context is from an event or not.

    Declaration

    Swift

    @objc
    public var fromEvent: Bool { get }

    Return Value

    true if the context is from an event.