MessageCenterController

@objc(UAMessageCenterController)
@MainActor
public class MessageCenterController : NSObject, ObservableObject

Controller for the Message Center View.

  • Publisher that emits the message center state.

    Declaration

    Swift

    @MainActor
    public var statePublisher: AnyPublisher<MessageCenterState, Never> { get }
  • Navigates to the message ID.

    Declaration

    Swift

    @objc
    @MainActor
    public func navigate(messageID: String?)

    Parameters

    messageID

    The message ID to navigate to.