Class SoundCloudAudioSourceManager.Builder
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.source.soundcloud.SoundCloudAudioSourceManager.Builder
-
- Enclosing class:
- SoundCloudAudioSourceManager
public static class SoundCloudAudioSourceManager.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoundCloudAudioSourceManagerbuild()SoundCloudAudioSourceManager.BuilderwithAllowSearch(boolean allowSearch)SoundCloudAudioSourceManager.BuilderwithDataLoader(SoundCloudDataLoader dataLoader)SoundCloudAudioSourceManager.BuilderwithDataReader(SoundCloudDataReader dataReader)SoundCloudAudioSourceManager.BuilderwithFilterOutPreviewTracks(boolean filterOutPreviewTracks)Whether to filter out short preview tracks that are only fully available with a Soundcloud subscription.SoundCloudAudioSourceManager.BuilderwithFormatHandler(SoundCloudFormatHandler formatHandler)SoundCloudAudioSourceManager.BuilderwithPlaylistLoader(SoundCloudPlaylistLoader playlistLoader)SoundCloudAudioSourceManager.BuilderwithPlaylistLoaderFactory(com.sedmelluq.discord.lavaplayer.source.soundcloud.SoundCloudAudioSourceManager.Builder.PlaylistLoaderFactory playlistLoaderFactory)
-
-
-
Method Detail
-
withAllowSearch
public SoundCloudAudioSourceManager.Builder withAllowSearch(boolean allowSearch)
-
withDataReader
public SoundCloudAudioSourceManager.Builder withDataReader(SoundCloudDataReader dataReader)
-
withDataLoader
public SoundCloudAudioSourceManager.Builder withDataLoader(SoundCloudDataLoader dataLoader)
-
withFormatHandler
public SoundCloudAudioSourceManager.Builder withFormatHandler(SoundCloudFormatHandler formatHandler)
-
withPlaylistLoader
public SoundCloudAudioSourceManager.Builder withPlaylistLoader(SoundCloudPlaylistLoader playlistLoader)
-
withPlaylistLoaderFactory
public SoundCloudAudioSourceManager.Builder withPlaylistLoaderFactory(com.sedmelluq.discord.lavaplayer.source.soundcloud.SoundCloudAudioSourceManager.Builder.PlaylistLoaderFactory playlistLoaderFactory)
-
withFilterOutPreviewTracks
public SoundCloudAudioSourceManager.Builder withFilterOutPreviewTracks(boolean filterOutPreviewTracks)
Whether to filter out short preview tracks that are only fully available with a Soundcloud subscription. Lavaplayer does not support getting the full track. Only affects new AudioTracks being loaded by this source, with no effect on deserialized tracks.Note: Currently does not affect playlists except liked tracks
-
build
public SoundCloudAudioSourceManager build()
-
-