DisplayPreferencesDto

data class DisplayPreferencesDto(val id: String? = null, val viewType: String? = null, val sortBy: String? = null, val indexBy: String? = null, val rememberIndexing: Boolean, val primaryImageHeight: Int, val primaryImageWidth: Int, val customPrefs: Map<String, String?>, val scrollDirection: ScrollDirection, val showBackdrop: Boolean, val rememberSorting: Boolean, val sortOrder: SortOrder, val showSidebar: Boolean, val client: String? = null)

Defines the display preferences for any item that supports them (usually Folders).

Constructors

Link copied to clipboard
constructor(id: String? = null, viewType: String? = null, sortBy: String? = null, indexBy: String? = null, rememberIndexing: Boolean, primaryImageHeight: Int, primaryImageWidth: Int, customPrefs: Map<String, String?>, scrollDirection: ScrollDirection, showBackdrop: Boolean, rememberSorting: Boolean, sortOrder: SortOrder, showSidebar: Boolean, client: String? = null)

Properties

Link copied to clipboard
val client: String? = null

The client.

Link copied to clipboard

The custom prefs.

Link copied to clipboard
val id: String? = null

The user id.

Link copied to clipboard
val indexBy: String? = null

The index by.

Link copied to clipboard

The height of the primary image.

Link copied to clipboard

The width of the primary image.

Link copied to clipboard

A value indicating whether remember indexing.

Link copied to clipboard

A value indicating whether remember sorting.

Link copied to clipboard

An enum representing the axis that should be scrolled.

Link copied to clipboard

A value indicating whether to show backdrops on this item.

Link copied to clipboard

A value indicating whether show sidebar.

Link copied to clipboard
val sortBy: String? = null

The sort by.

Link copied to clipboard

An enum representing the sorting order.

Link copied to clipboard
val viewType: String? = null

The type of the view.