Class LavalinkLoadResult
Represents information about track loading request.
Inheritance
System.Object
LavalinkLoadResult
Namespace: DSharpPlus.Lavalink
Assembly: cs.temp.dll.dll
Syntax
public class LavalinkLoadResult
Properties
Exception
Gets the exception details if a track loading failed.
Declaration
public LavalinkLoadFailedInfo Exception { get; }
Property Value
Type | Description |
---|---|
LavalinkLoadFailedInfo |
LoadResultType
Gets the loading result type for this request.
Declaration
public LavalinkLoadResultType LoadResultType { get; }
Property Value
Type | Description |
---|---|
LavalinkLoadResultType |
PlaylistInfo
Gets the information about the playlist loaded as a result of this request.
Only applicable if LoadResultType is set to PlaylistLoaded.
Declaration
public LavalinkPlaylistInfo PlaylistInfo { get; }
Property Value
Type | Description |
---|---|
LavalinkPlaylistInfo |
Tracks
Gets the tracks that were loaded as a result of this request.
Declaration
public IEnumerable<LavalinkTrack> Tracks { get; }
Property Value
Type | Description |
---|---|
IEnumerable<LavalinkTrack> |