MoEngageInboxUIConfiguration

@objc
public class MoEngageInboxUIConfiguration : NSObject

Model that handles Inbox UI

Navigation Bar

Pull To Refresh

  • Pass true to reload inbox on pull to refresh

    Declaration

    Swift

    @objc
    public var enablePullToRefresh: Bool
  • UIColor to be applied for UIRefreshControl. Default value is #525252

    Declaration

    Swift

    @objc
    public var pullToRefreshTintColor: UIColor

Inbox View Controller

  • Background color for Inbox ViewController. Default value is #E5E5E5

    Declaration

    Swift

    @objc
    public var inboxViewControllerBGColor: UIColor
  • Background color for Inbox TableView. Default value is #E5E5E5

    Declaration

    Swift

    @objc
    public var inboxTableViewBGColor: UIColor

Inbox Cell

  • Background Color for Inbox Cell.Default value is #EEEEEE

    Declaration

    Swift

    @objc
    public var cellDefaultBackgroundColor: UIColor
  • Background Color for unread inbox message. Default value is white

    Declaration

    Swift

    @objc
    public var cellUnreadBackgroundColor: UIColor
  • Cell background color when inbox message is clicked. Default value is #111111

    Declaration

    Swift

    @objc
    public var cellSelectionTintColor: UIColor
  • Text color for title in inbox cell. Default value is #424242.

    Declaration

    Swift

    @objc
    public var cellHeaderLabelTextColor: UIColor
  • Text color for message in inbox cell. Default value is #616161.

    Declaration

    Swift

    @objc
    public var cellMessageLabelTextColor: UIColor
  • Text color for date in inbox cell.Default value is #9E9E9E.

    Declaration

    Swift

    @objc
    public var cellTimestampLabelTextColor: UIColor
  • Font for title in inbox cell. Default font is Bold with size 17.0

    Declaration

    Swift

    @objc
    public var cellHeaderLabelFont: UIFont
  • Font for message in inbox cell. Default font is Regular with size 14.0

    Declaration

    Swift

    @objc
    public var cellMessageLabelFont: UIFont
  • Font for timestamp in inbox cell. Default font is Regular with size 14.0

    Declaration

    Swift

    @objc
    public var cellTimestampLabelFont: UIFont
  • TimeStamp format for the date displayed in Inbox ViewController. Default is “dd-MMM”.

    Declaration

    Swift

    @objc
    public var timestampDateFormat: String

Empty Inbox

  • Text displayed on Inbox ViewController when its empty

    Declaration

    Swift

    @objc
    public var emptyInboxText: String
  • Text color for the message displayed when inbox is empty. Default color is #414141

    Declaration

    Swift

    @objc
    public var emptyInboxTextColor: UIColor
  • Font for the message displayed when inbox is empty. Default font is Regular with size 17.0

    Declaration

    Swift

    @objc
    public var emptyInboxTextFont: UIFont
  • Declaration

    Swift

    public override init()