AppInfoData

Represents the data associated with an application, extending AppData.

This interface defines properties related to the visual representation and state of an app within a picker or list. It includes details like icons, labels, selection state, and dimming.

The companion object provides factory methods (invoke) for creating instances of AppInfoData.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract var actionIcon: Drawable?

An icon Drawable representing an action associated with the app, defaults to null.

Link copied to clipboard
Link copied to clipboard
abstract var dimmed: Boolean

A boolean indicating if the app item should be displayed in a dimmed state, defaults to false.

Link copied to clipboard
abstract var extraLabel: String?

An additional text label for supplementary information, defaults to null.

Link copied to clipboard
abstract var icon: Drawable?

The main icon Drawable for the app, defaults to null.

Link copied to clipboard

A boolean indicating if the subLabel contains a value that should be specially handled or formatted, defaults to false.

Link copied to clipboard
abstract val itemType: Int

The app itemType representing the type of item, defaults to TYPE_ITEM_TEXT.

Link copied to clipboard
abstract var label: String?

The primary text label for the app, defaults to null.

Link copied to clipboard
Link copied to clipboard
abstract var selected: Boolean

A boolean indicating if the app item is currently selected, defaults to false.

Link copied to clipboard
abstract var subIcon: Drawable?

A secondary icon Drawable, often displayed alongside the main icon, defaults to null.

Link copied to clipboard
abstract var subLabel: String?

A secondary text label, often displayed below the main label, defaults to null.