state

open override val state: JSONObject

Returns the current state of the InboxFeature module as a JSONObject.

Includes module name, version, ready/initializing/torn-down flags, initialization status, the configuration used to initialize the module, whether Inbox is enabled (GDPR, runtime toggle and config), and, once initialized and only while Inbox is enabled, the [RealInboxMessageManager.componentState] (message counts and content). While Inbox is disabled, or its enabled state cannot be read, those fields are left out.