Custom

@Serializable
class Custom(val id: String, @DrawableRes val iconId: Int, val onClick: () -> Unit = {}) : DashSearchPanelButton

Constructors

Link copied to clipboard
constructor(id: String, @DrawableRes iconId: Int, onClick: () -> Unit = {})

Properties

Link copied to clipboard
val iconId: Int
Link copied to clipboard
open override val id: String

Unique identifier for the search panel button.

Link copied to clipboard
val onClick: () -> Unit

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int