Package dev.lavalink.youtube
Class YoutubeSource
java.lang.Object
dev.lavalink.youtube.YoutubeSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetPoTokenAndVisitorData(String poToken, String visitorData) Sets the given PoToken and VisitorData pair on all POT-supporting clients.
-
Field Details
-
VERSION
-
-
Constructor Details
-
YoutubeSource
public YoutubeSource()
-
-
Method Details
-
setPoTokenAndVisitorData
Sets the given PoToken and VisitorData pair on all POT-supporting clients. This is a convenience method to allow for setting this from one method call.- Parameters:
poToken- The poToken to use. This must be paired to the specified visitorData. You may specifynullto unset.visitorData- The visitorData to use. This must be paired to the specified poToken. You may specifynullto unset.
-