![]() |
![]() |
![]() |
PackageKit Reference Manual | ![]() |
---|---|---|---|---|
org.freedesktop.PackageKitorg.freedesktop.PackageKit — PackageKit interface |
GetActions (out 's' actions) GetBackendDetail (out 's' name, out 's' author) GetFilters (out 's' filters) GetGroups (out 's' groups) GetMimeTypes (out 's' types) GetTid (out 's' tid) GetTimeSinceAction (in 's' role, out 'u' seconds) GetTransactionList (out 'as' transactions) StateHasChanged (in 's' reason) SuggestDaemonQuit () GetNetworkState (out 's' state) SetProxy (in 's' proxy_http, in 's' proxy_ftp)
TransactionListChanged ('as' transactions) Locked ('b' is_locked) NetworkStateChanged ('s' state) RestartSchedule () RepoListChanged () UpdatesChanged ()
org.freedesktop.PackageKit implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
Gets a list of all the actions that are supported by the backend.
|
A list of actions, e.g. search-name;get-updates;update-system |
Gets any details about the backend being used by PackageKit
|
The name of the backend, e.g. yum |
|
The author of the backend, e.g. Richard Hughes <richard@hughsie.com> |
Gets the list of filters that the backend supports
|
The list of filters as a string, e.g. installed;devel |
Gets the groups that are supported
|
The group list, e.g. accesories;games;system |
Gets the MIME types of packages that are supported
|
The MIME list, e.g. application/x-rpm;application/x-deb |
Gets a new transaction ID from the daemon
|
The tid, e.g. 45_dafeca_checkpoint32 |
This method allows us to query how long since an action has successfully completed.
|
The role, e.g. update-system |
|
The amount of time in seconds |
Gets the transaction list of any transactions that are in progress
|
A list of transaction ID's |
This method suggests to PackageKit that the package backend state may have changed. This allows plugins to the native package manager to suggest that PackageKit drops it's caches.
|
The reason of the state change. Valid reasons are resume or posttrans. Resume is given a lower priority than posttrans. |
Suggests to the daemon that it should quit as soon as possible, for instance if a native package management tool is waiting to be used.
Gets the network state from the daemon. This is provided as some clients may not want to use NetworkManager if the system daemon is configured to use something else.
|
The network state, e.g. unknown, offline or online. |
Sets the proxy used by the dameon.
|
The HTTP proxy, e.g. username:password@server:port. |
|
The FTP proxy, e.g. username:password@server:port. |
The transaction list has changed, because either a transaction has finished or a new transaction created.
|
A list of transaction ID's. |
This signal is emitted when the backend is locked and native tools would fail.
|
If we have locked the package backend. |
This signal is emitted when the network state has changed
|
The new network state |
A system restart has been sceduled
This signal is emitted when the repository list has changed
This signal is emitted when the number of updates has changed