InboxResponseDelegate

@objc(SFInboxResponseDelegate)
public protocol InboxResponseDelegate

Receives successful inbox ingest results from an operational producer (MCE or MAM). Failures do not invoke this protocol; use the refreshMessages completion for refresh outcomes.

  • Called on the main queue after a producer successfully returns inbox data.

    Declaration

    Swift

    func inboxMessagesDidChange(
        _ messages: [InboxMessage],
        source: MessageProducer
    )

    Parameters

    messages

    Messages persisted from this producer. MAM batches are empty when the event user does not match the current identity. May also be empty for a nil/empty payload.

    source

    The producer that delivered the batch.