FirebaseInAppMessagingDisplay Framework Reference

FIRInAppMessagingAction


@interface FIRInAppMessagingAction : NSObject

Defines the metadata for a FIAM action.

  • The text of the action button, if applicable.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *actionText;
  • The URL to follow if the action is clicked.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nonnull) NSURL *actionURL;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • This class should only be initialized from a custom in-app message UI component implementation.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithActionText:(nullable NSString *)actionText
                                     actionURL:(nonnull NSURL *)actionURL;