TypingEventManager

public final class TypingEventManager

Manager for typing events

  • Undocumented

    Declaration

    Swift

    public static let shared: TypingEventManager
  • Publisher for typing events that UI can listen to

    Declaration

    Swift

    public let typingEventSubject: PassthroughSubject<TypingEvent, Never>
  • Emit a typing event

    Declaration

    Swift

    public func emitTypingEvent(_ event: TypingEvent)
  • Convenience method to emit bot started typing

    Declaration

    Swift

    public func emitBotStartedTyping(duration: TimeInterval?)
  • Convenience method to emit bot stopped typing

    Declaration

    Swift

    public func emitBotStoppedTyping()
  • Convenience method to emit agent started typing

    Declaration

    Swift

    public func emitAgentStartedTyping(duration: TimeInterval?)
  • Convenience method to emit agent stopped typing

    Declaration

    Swift

    public func emitAgentStoppedTyping()