STWImportSettingsCallback

interface STWImportSettingsCallback

Callback to handle events related to import settings operation.

Functions

Link copied to clipboard
abstract fun onFail(@Nullable context: Context)
Called when the import settings operation fails for compatibility reason.
Link copied to clipboard
abstract fun onStart(@NonNull context: Context)
Called when the Import settings task start the operation.
Link copied to clipboard
abstract fun onSuccess(@Nullable context: Context)
Called when the import settings operation success
Link copied to clipboard
abstract fun parseSettings(@NonNull context: Context, @NonNull settingsJson: JSONObject)
Called by Import settings task to provide settings to import.