MessageNotificationController

@available(*, deprecated, message: "MessageNotificationController is deprecated it has been replaced by InAppNotificationsCoordinator.")
@objc(BCHMessageNotificationController)
public class MessageNotificationController : NSObject

A controller showing the user interface for the message notification.

  • The controller’s delegate.

    Declaration

    Swift

    @objc
    public weak var delegate: MessageNotificationControllerDelegate
  • Warning

    This property used to hold the view controller instance hosting the in-app notifications to be presented. This is no longer true, the view controller provided will be completely ignored.

    Declaration

    Swift

    @objc
    public weak var parentViewController: UIViewController
  • The controller configuration to be used.

    Declaration

    Swift

    @objc
    public var configuration: MessageNotificationControllerConfiguration?
  • Starts the in-app notifications services.

    Warning

    This method will call start on the InAppNotificationsCoordinator instance found in the BandyerSDK singleton instance.

    Declaration

    Swift

    @objc
    public func show()
  • Stops the in-app notifications services.

    Warning

    This method will call stop on the InAppNotificationsCoordinator instance found in the BandyerSDK singleton instance.

    Declaration

    Swift

    @objc
    public func hide()