---
schema_version: "1"
id: 912a7eccd07b00cb088a5de6435a96aed20de6e4fb9745952f43a7fc911d51c1
title: SuccessResult Interface
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_interface_eventbus_SuccessResult.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_eventbus_SuccessResult.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a8e2843a85a8af3a0a12dd8b5e5ffddd163bf77a13a50f7fc2aaf7422b0a158c
description: 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.Returns a list of EventUuid field values of each platform event that is included in the EventBus.EventPublishSuccessCallback.
---
# 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.

## Namespace

[EventBus](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_eventbus.htm "The EventBus namespace provides classes and methods for platform events and Change Data Capture events.")

- **[SuccessResult Methods](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_eventbus_SuccessResult.htm#apex_eventbus_SuccessResult_methods)**

## SuccessResult Methods

The following are methods for SuccessResult.

- **[getEventUuids()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_eventbus_SuccessResult.htm#apex_eventbus_SuccessResult_getEventUuids)**  
    Returns a list of EventUuid field values of each platform event that is included in the EventBus.EventPublishSuccessCallback.

### getEventUuids()

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

#### Signature

public List<String> getEventUuids()

#### Return Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")\>