UAInAppMessageDisplayCoordinator

@protocol UAInAppMessageDisplayCoordinator <NSObject>

Protocol for coordinating the display of in-app messages with the in-app message manager. Useful for putting time or count-based back pressure on message display, or for overriding the default coordination behavior for particular message types.

  • Indicates whether message display is ready.

    Note

    This property must be KVO compliant.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isReady;

    Swift

    var isReady: Bool { get }
  • Notifies the coordinator that message display has begun.

    Declaration

    Objective-C

    - (void)didBeginDisplayingMessage:(UAInAppMessage *)message;

    Swift

    optional func didBeginDisplaying(_ message: UAInAppMessage!)

    Parameters

    message

    The message.

  • Notifies the coordinator that message display has finished.

    Declaration

    Objective-C

    - (void)didFinishDisplayingMessage:(UAInAppMessage *)message;

    Swift

    optional func didFinishDisplaying(_ message: UAInAppMessage!)

    Parameters

    message

    The message.