Zero Install .NET API 2.20.0
ZeroInstall.DesktopIntegration.ICategoryIntegrationManager Interface Reference

Manages desktop integration via AccessPoints, grouping them into categories. More...

Inheritance diagram for ZeroInstall.DesktopIntegration.ICategoryIntegrationManager:
ZeroInstall.DesktopIntegration.IIntegrationManager ZeroInstall.DesktopIntegration.CategoryIntegrationManager

Public Member Functions

void AddAccessPointCategories (AppEntry appEntry, Feed feed, params string[] categories)
 Applies a category of AccessPoints for an application. More...
 
void RemoveAccessPointCategories (AppEntry appEntry, params string[] categories)
 Removes a category of already applied AccessPoints for an application. More...
 
- Public Member Functions inherited from ZeroInstall.DesktopIntegration.IIntegrationManager
AppEntry AddApp (FeedTarget target)
 Creates a new unnamed AppEntry and adds it to the AppList. More...
 
AppEntry AddApp (string petName, Requirements requirements, Feed feed)
 Creates a new named AppEntry and adds it to the AppList. More...
 
void RemoveApp (AppEntry appEntry)
 Removes an AppEntry from the AppList while unapplying any remaining AccessPoints. More...
 
void UpdateApp (AppEntry appEntry, Feed feed)
 Updates an AppEntry with new metadata and capabilities from a Feed. This may unapply and remove some existing AccessPoints. More...
 
void UpdateApp (AppEntry appEntry, Feed feed, Requirements requirements)
 Updates a named AppEntry with new Requirements. More...
 
void AddAccessPoints (AppEntry appEntry, Feed feed, IEnumerable< AccessPoint > accessPoints)
 Applies AccessPoints for an application. More...
 
void RemoveAccessPoints (AppEntry appEntry, IEnumerable< AccessPoint > accessPoints)
 Removes already applied AccessPoints for an application. More...
 
void Repair (Converter< FeedUri, Feed > feedRetriever)
 Reapplies all AccessPoints for all AppEntrys. More...
 

Additional Inherited Members

- Properties inherited from ZeroInstall.DesktopIntegration.IIntegrationManager
AppList AppList [get]
 Stores a list of applications and their desktop integrations. Only use for read-access externally! Use this class' methods for any modifications.
 
bool MachineWide [get]
 Apply operations machine-wide instead of just for the current user.
 

Detailed Description

Manages desktop integration via AccessPoints, grouping them into categories.

Member Function Documentation

◆ AddAccessPointCategories()

void ZeroInstall.DesktopIntegration.ICategoryIntegrationManager.AddAccessPointCategories ( AppEntry  appEntry,
Feed  feed,
params string[]  categories 
)

Applies a category of AccessPoints for an application.

Parameters
appEntryThe application being integrated.
feedThe feed providing additional metadata, icons, etc. for the application.
categoriesA list of all AccessPoint categories to be added to the already applied ones.
Exceptions
ConflictExceptionOne or more of the categories would cause a conflict with the existing AccessPoints in AppList.
OperationCanceledExceptionThe user canceled the task.
IOExceptionA problem occurred while writing to the filesystem or registry.
WebExceptionA problem occurred while downloading additional data (such as icons).
UnauthorizedAccessExceptionWrite access to the filesystem or registry is not permitted.

Implemented in ZeroInstall.DesktopIntegration.CategoryIntegrationManager.

◆ RemoveAccessPointCategories()

void ZeroInstall.DesktopIntegration.ICategoryIntegrationManager.RemoveAccessPointCategories ( AppEntry  appEntry,
params string[]  categories 
)

Removes a category of already applied AccessPoints for an application.

Parameters
appEntryThe application being integrated.
categoriesA list of all AccessPoint categories to be removed from the already applied ones.
Exceptions
IOExceptionA problem occurred while writing to the filesystem or registry.
UnauthorizedAccessExceptionWrite access to the filesystem or registry is not permitted.

Implemented in ZeroInstall.DesktopIntegration.CategoryIntegrationManager.


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