FIRInAppMessagingAction
@interface FIRInAppMessagingAction : NSObject
Defines the metadata for a FIAM action.
- This class is unavailable on macOS, macOS Catalyst, and watchOS.
-
The text of the action button, if applicable.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *actionText;
-
The URL to follow if the action is clicked.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSURL *actionURL;
-
Unavailable.
Declaration
Objective-C
- (nonnull instancetype)init;
-
This class should only be initialized from a custom in-app message UI component implementation or in unit testing.
Declaration
Objective-C
- (nonnull instancetype)initWithActionText:(nullable NSString *)actionText actionURL:(nullable NSURL *)actionURL;