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 SearchInfogetInfo(SearchExtractor extractor)static SearchInfogetInfo(StreamingService service, SearchQueryHandler searchQuery)java.util.List<MetaInfo>getMetaInfo()static ListExtractor.InfoItemsPage<InfoItem>getMoreItems(StreamingService service, SearchQueryHandler query, Page page)java.lang.StringgetSearchString()java.lang.StringgetSearchSuggestion()booleanisCorrectedSearch()voidsetIsCorrectedSearch(boolean isCorrectedSearch)voidsetMetaInfo(java.util.List<MetaInfo> metaInfo)voidsetSearchSuggestion(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:
ExtractionExceptionjava.io.IOException
-
getInfo
public static SearchInfo getInfo(SearchExtractor extractor) throws ExtractionException, java.io.IOException
- Throws:
ExtractionExceptionjava.io.IOException
-
getMoreItems
public static ListExtractor.InfoItemsPage<InfoItem> getMoreItems(StreamingService service, SearchQueryHandler query, Page page) throws java.io.IOException, ExtractionException
- Throws:
java.io.IOExceptionExtractionException
-
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)
-
-