AppData

interface AppData(source)

Represents the data associated with an application item in a picker.

This interface defines the basic structure for application data, including information about the application itself (via appInfo) and provides various builder classes for creating different types of application data items.

The companion object defines constants for different item types, which are used by the AppDataBuilderInfo annotation to specify the type of item a builder creates.

Available Builders:

Inheritors

Types

Link copied to clipboard
interface AppDataBuilder<T : AppData>

A builder interface to help build app-specific data.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class AppDataBuilderInfo(val itemType: Int)
Link copied to clipboard

Builder class for creating CategoryAppData instances.

Link copied to clipboard
object Companion
Link copied to clipboard

Builder for creating AppInfoData instances which sets its itemType to TYPE_ITEM_TEXT and allows for customization of the following properties:

Link copied to clipboard

Builder for creating AppInfoData instances which sets its itemType to TYPE_ITEM_CHECKBOX and allows for customization of the following properties:

Link copied to clipboard

Builder for creating AppInfoData instances which sets its itemType to TYPE_ITEM_CHECKBOX_REMOVE and allows for customization of the following properties:

Link copied to clipboard

A builder class for creating GroupAppData instances.

Link copied to clipboard
annotation class ItemType
Link copied to clipboard

Builder for creating AppInfoData instances which sets its itemType to TYPE_ITEM_TEXT and allows for customization of the following properties:

Link copied to clipboard

Builder for creating AppInfoData instances which sets its itemType to TYPE_ITEM_CHECKBOX and allows for customization of the following properties:

Link copied to clipboard

Builder for creating AppInfoData instances which sets its itemType to TYPE_ITEM_RADIOBUTTON and allows for customization of the following properties:

Link copied to clipboard

Builder for creating AppInfoData instances which sets its itemType to TYPE_ITEM_SWITCH. and allows for customization of the following properties:

Properties

Link copied to clipboard
abstract val appInfo: AppInfo