FirebaseInAppMessaging Framework Reference

InAppMessagingActionButton

class InAppMessagingActionButton : NSObject

Contains the display information for an action button. This class is unavailable on macOS,

  • macOS Catalyst, and watchOS.
  • Gets the text string for the button

    Declaration

    Swift

    var buttonText: String { get }
  • Gets the button’s text color.

    Declaration

    Swift

    @NSCopying var buttonTextColor: UIColor { get }
  • Gets the button’s background color

    Declaration

    Swift

    @NSCopying var buttonBackgroundColor: UIColor { get }
  • Unavailable.

  • Exposed for unit testing only, or for use in SwiftUI previews. Don’t instantiate this in your app directly.

    Declaration

    Swift

    init(buttonText: String, buttonTextColor textColor: UIColor, backgroundColor: UIColor)