public protocol Callbacks
Callback protocol for SDK workflow lifecycle events.
[onLoadStartBegin()](#/s:9embed_sdk9CallbacksP16onLoadStartBeginyyF) Default implementation
Called before onLoadStart - when load process begins.
Swift
func onLoadStartBegin()
[onLoadInitBegin()](#/s:9embed_sdk9CallbacksP15onLoadInitBeginyyF) Default implementation
Called before onLoad - when initialization begins.
Swift
func onLoadInitBegin()
[onLoadStart()](#/s:9embed_sdk9CallbacksP11onLoadStartyyF)
Called when the workflow starts loading.
Swift
func onLoadStart()
[onLoad()](#/s:9embed_sdk9CallbacksP6onLoadyyF)
Called when the workflow has finished loading and is ready.
Swift
func onLoad()
[onCancel(reason:)](#/s:9embed_sdk9CallbacksP8onCancel6reasonyAA0E6ReasonOSg_tF)
Swift
func onCancel(reason: CancelReason?)
[onPublishStart()](#/s:9embed_sdk9CallbacksP14onPublishStartyyF)
Called when the user initiates a publish/export action.
Swift
func onPublishStart()
[onPublish(intent:publishParams:)](#/s:9embed_sdk9CallbacksP9onPublish6intent13publishParamsyAA12ActionIntentC_AA0eH0VtF)
Swift
func onPublish(intent: ActionIntent, publishParams: PublishParams)
[onError(error:)](#/s:9embed_sdk9CallbacksP7onError5erroryAA012CCEverywhereE0C_tF)
Swift
func onError(error: CCEverywhereError)
[onEvent(message:)](#/s:9embed_sdk9CallbacksP7onEvent7messageyAA04HostE4Data_p_tF)
Swift
func onEvent(message: HostEventData)
[onIntentChange(oldIntent:newIntent:)](#/s:9embed_sdk9CallbacksP14onIntentChange03oldE003newE0AA0eF6ConfigVSgAA06ActionE0C_AKtF)
Swift
func onIntentChange(oldIntent: ActionIntent, newIntent: ActionIntent) -> IntentChangeConfig?
Optional configuration changes to apply (optional)
[onSessionFinished(intent:)](#/s:9embed_sdk9CallbacksP17onSessionFinished6intentyAA12ActionIntentCSg_tF)
Undocumented
Swift
func onSessionFinished(intent: ActionIntent?)