PublishMessageCallback

Defines a callback for publishing a message.

Defines a callback for publishing a message with the published message and an optional exception if an error occurred.

Syntax: typealias PublishMessageCallback = (message: InAppMessage, exception: WebexConnectException?) -> Unit

Parameters

ParametersTypeDescription
messageInAppMessageThe in-app message that was published.
exceptionWebexConnectExceptionOptional exception returned in case of error.