StatusTextManager

public protocol StatusTextManager

Status text manager.

  • Shows a notification in the status bar.

    This method is safe to be called from any thread.

    Declaration

    Swift

    func showNotification(_ notification: NotificationMessage)
  • Adds a new message to the status bar, or replaces the existing one if the message with the same identifier already exists.

    This method is safe to be called from any thread.

    Declaration

    Swift

    func addStatusText(_ text: StatusText)
  • Removes the status message with a given identifier.

    This method is safe to be called from any thread.

    Declaration

    Swift

    func removeStatusText(id: String)

    Parameters

    id

    a status text message identifier.