Class SearchInfo
- java.lang.Object
-
- org.schabi.newpipe.extractor.Info
-
- org.schabi.newpipe.extractor.ListInfo<InfoItem>
-
- org.schabi.newpipe.extractor.search.SearchInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class SearchInfo extends ListInfo<InfoItem>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchInfo(int serviceId, SearchQueryHandler qIHandler, java.lang.String searchString)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchInfo
getInfo(SearchExtractor extractor)
static SearchInfo
getInfo(StreamingService service, SearchQueryHandler searchQuery)
java.util.List<MetaInfo>
getMetaInfo()
static ListExtractor.InfoItemsPage<InfoItem>
getMoreItems(StreamingService service, SearchQueryHandler query, Page page)
java.lang.String
getSearchString()
java.lang.String
getSearchSuggestion()
boolean
isCorrectedSearch()
void
setIsCorrectedSearch(boolean isCorrectedSearch)
void
setMetaInfo(java.util.List<MetaInfo> metaInfo)
void
setSearchSuggestion(java.lang.String searchSuggestion)
-
Methods inherited from class org.schabi.newpipe.extractor.ListInfo
getContentFilters, getNextPage, getRelatedItems, getSortFilter, hasNextPage, setNextPage, setRelatedItems
-
Methods inherited from class org.schabi.newpipe.extractor.Info
addAllErrors, addError, getErrors, getId, getName, getOriginalUrl, getService, getServiceId, getUrl, setOriginalUrl, toString
-
-
-
-
Constructor Detail
-
SearchInfo
public SearchInfo(int serviceId, SearchQueryHandler qIHandler, java.lang.String searchString)
-
-
Method Detail
-
getInfo
public static SearchInfo getInfo(StreamingService service, SearchQueryHandler searchQuery) throws ExtractionException, java.io.IOException
- Throws:
ExtractionException
java.io.IOException
-
getInfo
public static SearchInfo getInfo(SearchExtractor extractor) throws ExtractionException, java.io.IOException
- Throws:
ExtractionException
java.io.IOException
-
getMoreItems
public static ListExtractor.InfoItemsPage<InfoItem> getMoreItems(StreamingService service, SearchQueryHandler query, Page page) throws java.io.IOException, ExtractionException
- Throws:
java.io.IOException
ExtractionException
-
getSearchString
public java.lang.String getSearchString()
-
getSearchSuggestion
public java.lang.String getSearchSuggestion()
-
isCorrectedSearch
public boolean isCorrectedSearch()
-
setIsCorrectedSearch
public void setIsCorrectedSearch(boolean isCorrectedSearch)
-
setSearchSuggestion
public void setSearchSuggestion(java.lang.String searchSuggestion)
-
getMetaInfo
@Nonnull public java.util.List<MetaInfo> getMetaInfo()
-
setMetaInfo
public void setMetaInfo(@Nonnull java.util.List<MetaInfo> metaInfo)
-
-