UALegacyInAppMessaging

Objective-C


@interface UALegacyInAppMessaging
    : NSObject <UAComponent, UALegacyInAppMessageFactoryDelegate>

Swift

class LegacyInAppMessaging : NSObject, Component, LegacyInAppMessageFactoryDelegate

Manager class for in-app messaging.

  • The shared InAppAutomation instance.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly, null_unspecified) UALegacyInAppMessaging *shared;

    Swift

    class var shared: LegacyInAppMessaging! { get }
  • Sets whether legacy messages will display immediately upon arrival, instead of waiting until the following foreground. Defaults to YES.

    Declaration

    Objective-C

    @property (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 (nonatomic, weak) id<UALegacyInAppMessageFactoryDelegate> _Nullable factoryDelegate;

    Swift

    weak var factoryDelegate: LegacyInAppMessageFactoryDelegate? { get set }