FirebaseInAppMessagingDisplay Framework Reference

FIRInAppMessagingActionButton


@interface FIRInAppMessagingActionButton : NSObject

Contains the display information for an action button.

  • Gets the text string for the button

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Deprecated, this class shouldn’t be directly instantiated.

    Declaration

    Objective-C

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