FirebaseInAppMessaging Framework Reference

FIRInAppMessagingActionButton


@interface FIRInAppMessagingActionButton : 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

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *buttonText;
  • Gets the button’s text color.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) UIColor *buttonTextColor;
  • Gets the button’s background color

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) UIColor *buttonBackgroundColor;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Exposed for unit testing only, or for use in SwiftUI previews. Don’t instantiate this in your app directly.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithButtonText:(nonnull NSString *)buttonText
                               buttonTextColor:(nonnull UIColor *)textColor
                               backgroundColor:(nonnull UIColor *)backgroundColor;