EventSenderableDelegate
public protocol EventSenderableDelegate : AnyObject
A type that can receive result of sending events
-
Will be called in case of success event sending
Declaration
Swift
func didSend(eventName: String, resultMessage: String)
Parameters
eventName
Name of event.
resultMessage
Message from server.
-
Will be called in case of failing event sending
Declaration
Swift
func didFailedSend(eventName: String, with error: Error)
Parameters
eventName
Name of event.
error
error instance with details, what went wrong.