SeslAppInfoDataHelper
class SeslAppInfoDataHelper @JvmOverloads constructor(context: Context, builderClass: Class<out AppData.AppDataBuilder<*>> = AppData.ListAppDataBuilder::class.java) : LogTag(source)
Helper class for creating and managing AppInfoData objects.
This class provides methods to create lists of AppInfoData from component names or package names. It uses an AbstractAppDataListFactory to retrieve data based on the item type.
Parameters
context
The application context.
builderClass
The class of the AppData.AppDataBuilder to be used. Defaults to AppData.ListAppDataBuilder when not provided.
Constructors
Link copied to clipboard
constructor(context: Context, builderClass: Class<out AppData.AppDataBuilder<*>> = AppData.ListAppDataBuilder::class.java)
Creates an instance of SeslAppInfoDataHelper.
Functions
Link copied to clipboard
Converts a list of ComponentName objects to a list of AppInfoData objects.
Link copied to clipboard
Retrieves a list of AppInfoData for all packages.
Retrieves a list of AppInfoData objects for the specified package names.