Class SuggestionExtractor
- java.lang.Object
-
- org.schabi.newpipe.extractor.suggestion.SuggestionExtractor
-
- Direct Known Subclasses:
BandcampSuggestionExtractor
,PeertubeSuggestionExtractor
,SoundcloudSuggestionExtractor
,YoutubeSuggestionExtractor
public abstract class SuggestionExtractor extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SuggestionExtractor(StreamingService service)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
forceContentCountry(ContentCountry contentCountry)
void
forceLocalization(Localization localization)
ContentCountry
getExtractorContentCountry()
Localization
getExtractorLocalization()
StreamingService
getService()
int
getServiceId()
abstract java.util.List<java.lang.String>
suggestionList(java.lang.String query)
-
-
-
Constructor Detail
-
SuggestionExtractor
public SuggestionExtractor(StreamingService service)
-
-
Method Detail
-
suggestionList
public abstract java.util.List<java.lang.String> suggestionList(java.lang.String query) throws java.io.IOException, ExtractionException
- Throws:
java.io.IOException
ExtractionException
-
getServiceId
public int getServiceId()
-
getService
public StreamingService getService()
-
forceLocalization
public void forceLocalization(@Nullable Localization localization)
-
forceContentCountry
public void forceContentCountry(@Nullable ContentCountry contentCountry)
-
getExtractorLocalization
@Nonnull public Localization getExtractorLocalization()
-
getExtractorContentCountry
@Nonnull public ContentCountry getExtractorContentCountry()
-
-