FirebaseInAppMessaging Framework Reference

InAppMessagingAction

class InAppMessagingAction : 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

    Swift

    var actionText: String? { get }
  • The URL to follow if the action is clicked.

    Declaration

    Swift

    var actionURL: URL? { get }
  • Unavailable.

  • This class should only be initialized from a custom in-app message UI component implementation or in unit testing.

    Declaration

    Swift

    init(actionText: String?, actionURL: URL?)