Table of Contents

Enum LoadType

Namespace
Nyra.Entities
Assembly
Nyra.dll

Outcome of a load-tracks operation.

public enum LoadType

Fields

Empty = 3

The load matched nothing.

Error = 4

The load failed.

Playlist = 1

The load returned a playlist.

The load returned search results.

Track = 0

The load returned one track.

Unknown = 5

Not a server value.

Nyra's fallback for a load type the library does not recognize. The load path itself degrades unknown types into LoadResult.LoadFailed instead, this member only exists so a future payload that deserializes the enum directly degrades the same way instead of throwing mid-parse.

Remarks

NodeLink's extra types (episode, album, artist, station, podcast, show) map onto Track and Playlist.