MessageCenterDisplayDelegate

@objc(UAMessageCenterDisplayDelegate)
public protocol MessageCenterDisplayDelegate

Delegate protocol for receiving callbacks related to message center.

  • Called when a message is requested to be displayed.

    Declaration

    Swift

    @objc(displayMessageCenterForMessageID:)
    @MainActor
    func displayMessageCenter(messageID: String)

    Parameters

    messageID

    The message ID.

  • Called when the message center is requested to be displayed.

    Declaration

    Swift

    @objc
    @MainActor
    func displayMessageCenter()
  • Called when the message center is requested to be dismissed.

    Declaration

    Swift

    @objc
    @MainActor
    func dismissMessageCenter()