Function getDeferredInAppMessage

  • Retrieves the in-app message that was most recently deferred for display with [[deferInAppMessage]].

    Note: Retrieving the deferred in-app message here will clear it from storage.

    Returns Promise<InAppMessage | None>

    Resolves to the deferred in-app message if it exists, or returns null. Returns undefined if the SDK has not been initialized.