Zero Install .NET API 2.20.0
ZeroInstall.DesktopIntegration.ViewModel.IAppTileList Interface Reference

A graphical widget that displays a list of IAppTiles. More...

Public Member Functions

IAppTile QueueNewTile (FeedUri interfaceUri, string appName, AppStatus status, IIconStore? iconStore=null, bool machineWide=false)
 Prepares a new IAppTile to be added to the list. Will be added in bulk when IAppTileList.AddQueuedTiles is called. More...
 
void AddQueuedTiles ()
 Adds all new tiles queued by IAppTileList.QueueNewTile calls.
 
IAppTileGetTile (FeedUri interfaceUri)
 Retrieves a specific application tile from the list. More...
 
void RemoveTile (FeedUri interfaceUri)
 Removes an application tile from the list. Does nothing if no matching tile can be found. More...
 
void Clear ()
 Removes all application tiles from the list.
 
void ShowCategories ()
 Show a list of categories of the current tiles.
 

Detailed Description

A graphical widget that displays a list of IAppTiles.

Member Function Documentation

◆ GetTile()

IAppTile? ZeroInstall.DesktopIntegration.ViewModel.IAppTileList.GetTile ( FeedUri  interfaceUri)

Retrieves a specific application tile from the list.

Parameters
interfaceUriThe interface URI of the application the tile to retrieve represents.
Returns
The requested IAppTile; null if no matching entry was found.

◆ QueueNewTile()

IAppTile ZeroInstall.DesktopIntegration.ViewModel.IAppTileList.QueueNewTile ( FeedUri  interfaceUri,
string  appName,
AppStatus  status,
IIconStore iconStore = null,
bool  machineWide = false 
)

Prepares a new IAppTile to be added to the list. Will be added in bulk when IAppTileList.AddQueuedTiles is called.

Parameters
interfaceUriThe interface URI of the application this tile represents.
appNameThe name of the application this tile represents.
statusDescribes whether the application is listed in the AppList and if so whether it is integrated.
iconStoreThe icon store used by newly created IAppTiles to retrieve application icons; can be null.
machineWideApply operations machine-wide instead of just for the current user.
Exceptions
InvalidOperationExceptionThe list already contains an IAppTile with the specified interfaceUri .

◆ RemoveTile()

void ZeroInstall.DesktopIntegration.ViewModel.IAppTileList.RemoveTile ( FeedUri  interfaceUri)

Removes an application tile from the list. Does nothing if no matching tile can be found.

Parameters
interfaceUriThe interface URI of the application the tile to remove represents.

The documentation for this interface was generated from the following file: