STWMyBusinessExternalDBCallback

interface STWMyBusinessExternalDBCallback<T : Error?> : STWExternalSystemCallback<T>

This is a callback to handle events related to dat requests from external system.

Parameters

<T>

Error class

Functions

Link copied to clipboard
abstract fun startExternalDataActivity(@NonNull token: String, @Nullable templateUUID: String)
This method will be called when app need to open a WebView to request data from external system.

Inherited functions

Link copied to clipboard
abstract fun onError(@NonNull error: T)
Called when an error occurs following a request executed by the developer.
Link copied to clipboard
abstract fun onSuccess(@Nullable data: String)
Called when request successfully sent to external system