Version 1.10 - Updated on 05/04/2017
public interface SearchCallback
Search callback - to be implemented to receive search result.
public void onError(SearchException exception)
Called when an error occurs during the search operation.
exception
— A search exception that includes the root cause of the problem.public void onSuccess(ItemList<FullviewItem> itemList, boolean isOffline)
Called when the search completes successfully. The results of the search are provided to the ItemList
object.
itemList
— ItemList
- the result list with each list item is of the type FullviewItem
.isOffline
— false if the latest data could be retrieved from the server, true if search is offline.Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.