UALegacyInAppMessaging

@interface UALegacyInAppMessaging
    : NSObject <UALegacyInAppMessageFactoryDelegate>

Manager class for in-app messaging.

  • Sets whether legacy messages will display immediately upon arrival, instead of waiting until the following foreground. Defaults to YES.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL displayASAPEnabled;

    Swift

    var displayASAPEnabled: Bool { get set }
  • Optional factory delegate. Set this to provide a custom implementation of legacy in-app message support.

    Declaration

    Objective-C

    @property (readwrite, nonatomic)
        id<UALegacyInAppMessageFactoryDelegate> _Nullable factoryDelegate;

    Swift

    weak var factoryDelegate: UALegacyInAppMessageFactoryDelegate? { get set }