STWAddAttachmentCallback

interface STWAddAttachmentCallback<T : Error?> : STWCallback<T>

This callback is used to handle all events of add attachment in process.

Functions

Link copied to clipboard
abstract fun onSuccess(@NonNull attachmentPath: String)
Called when action has been completed successfully

Inherited functions

Link copied to clipboard
abstract fun onError(@NonNull error: T)
Called when an error occurs following a request executed by the developer.