# IPublishCallback ## **Overview** **Related Modules:** [Softbus](softbus.md) **Description:** Defines the callbacks for successful and failed service publishing. ## **Summary** ## Data Fields
onPublishSuccess )(int publishId) |
|
onPublishFail )(int publishId, PublishFailReason reason) |