SuccessResult Interface

Contains the result of an Apex publish callback when the event publishing succeeded. This interface is used as a parameter in the onSuccess method of the EventPublishSuccessCallback interface.

EventBus

The following are methods for SuccessResult.

  • getEventUuids()

    Returns a list of EventUuid field values of each platform event that is included in the EventBus.EventPublishSuccessCallback.

Returns a list of EventUuid field values of each platform event that is included in the EventBus.EventPublishSuccessCallback.

public List<String> getEventUuids()

Type: List<String>