Class KioskList
- java.lang.Object
-
- org.schabi.newpipe.extractor.kiosk.KioskList
-
public class KioskList extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
KioskList.KioskExtractorFactory
-
Constructor Summary
Constructors Constructor Description KioskList(StreamingService service)
-
Method Summary
-
-
-
Constructor Detail
-
KioskList
public KioskList(StreamingService service)
-
-
Method Detail
-
addKioskEntry
public void addKioskEntry(KioskList.KioskExtractorFactory extractorFactory, ListLinkHandlerFactory handlerFactory, java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
setDefaultKiosk
public void setDefaultKiosk(java.lang.String kioskType)
-
getDefaultKioskExtractor
public KioskExtractor getDefaultKioskExtractor() throws ExtractionException, java.io.IOException
- Throws:
ExtractionException
java.io.IOException
-
getDefaultKioskExtractor
public KioskExtractor getDefaultKioskExtractor(Page nextPage) throws ExtractionException, java.io.IOException
- Throws:
ExtractionException
java.io.IOException
-
getDefaultKioskExtractor
public KioskExtractor getDefaultKioskExtractor(Page nextPage, Localization localization) throws ExtractionException, java.io.IOException
- Throws:
ExtractionException
java.io.IOException
-
getDefaultKioskId
public java.lang.String getDefaultKioskId()
-
getExtractorById
public KioskExtractor getExtractorById(java.lang.String kioskId, Page nextPage) throws ExtractionException, java.io.IOException
- Throws:
ExtractionException
java.io.IOException
-
getExtractorById
public KioskExtractor getExtractorById(java.lang.String kioskId, Page nextPage, Localization localization) throws ExtractionException, java.io.IOException
- Throws:
ExtractionException
java.io.IOException
-
getAvailableKiosks
public java.util.Set<java.lang.String> getAvailableKiosks()
-
getExtractorByUrl
public KioskExtractor getExtractorByUrl(java.lang.String url, Page nextPage) throws ExtractionException, java.io.IOException
- Throws:
ExtractionException
java.io.IOException
-
getExtractorByUrl
public KioskExtractor getExtractorByUrl(java.lang.String url, Page nextPage, Localization localization) throws ExtractionException, java.io.IOException
- Throws:
ExtractionException
java.io.IOException
-
getListLinkHandlerFactoryByType
public ListLinkHandlerFactory getListLinkHandlerFactoryByType(java.lang.String type)
-
forceLocalization
public void forceLocalization(@Nullable Localization localization)
-
forceContentCountry
public void forceContentCountry(@Nullable ContentCountry contentCountry)
-
-