Edit in GitHubLog an issue

AepInboxEventObserver

Interface for observing inbox-level events in addition to item-level UI events. AepInboxEventObserver extends AepUIEventObserver to add inbox-specific event handling. This allows implementations to handle both:

  • Individual item events: Display, dismiss, and interact events for content cards
  • Inbox-level events: Display events for the inbox container itself

Interface Definition

Copied to your clipboard
interface AepInboxEventObserver : AepUIEventObserver {
fun onInboxEvent(event: InboxEvent)
}

Methods

onInboxEvent

Called when an inbox-level event occurs. Implementations can use this to perform analytics tracking or other side effects for inbox events.

Syntax

Copied to your clipboard
fun onInboxEvent(event: InboxEvent)

Parameters

ParameterTypeDescription
event
The inbox event to handle. Currently supports InboxEvent.Display.

Implementation

The Messaging extension provides InboxEventObserver as the standard implementation of this interface. It automatically:

  • Tracks inbox display events
  • Delegates item-level events to provided observers
  • Prevents duplicate display tracking
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2026 Adobe. All rights reserved.