CreateSearchCallback

interface CreateSearchCallback<T : Search>

Callback interface for create search operation

Types

Error
Link copied to clipboard
enum Error : Enum<CreateSearchCallback.Error>

Functions

onError
Link copied to clipboard
abstract fun onError(error: CreateSearchCallback.Error)

Called if specified search engine was not created

onSuccess
Link copied to clipboard
abstract fun onSuccess(search: T)

Called if specified search engine was successfully created