Class YoutubeSource

java.lang.Object
dev.lavalink.youtube.YoutubeSource

public class YoutubeSource extends Object
  • Field Details

    • VERSION

      public static String VERSION
  • Constructor Details

    • YoutubeSource

      public YoutubeSource()
  • Method Details

    • setPoTokenAndVisitorData

      public static void setPoTokenAndVisitorData(String poToken, String visitorData)
      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 specify null to unset.
      visitorData - The visitorData to use. This must be paired to the specified poToken. You may specify null to unset.