Methods
SetMinimumPresence | ((uss): status) | → | nothing |
Signals
MinimumPresenceRequestsChanged | (a{s(uss)}: MinimumPresenceRequests) |
Properties
MinimumPresenceRequests | a{s(uss)} (Minimum_Presence_Request_Map) | Read only |
Types
Minimum_Presence_Request_Map | Mapping | a{s(uss)} |
Description
This interface extends the core Account interface to provide a way for applications to request minimum presence on the account.
Rationale:
Some applications, for example mail notifiers or address book synchronisation, can make use of account's connection even while the user is nominally offline.
Each client's unique name may set a minimum desired presence on the account. The combined presence is the most available presence of the minimum presences set and of RequestedPresence set by the user. The account manager should attempt to manipulate the connection to set the combined presence.
Methods
SetMinimumPresence ((uss): status) → nothing
Parameters
- status — (uss) (Simple_Presence)
Set a minimum presence needed by the client for this account. Setting (Offline, "offline", "") removes the minimum presence requirement for the client's unique name.
Signals
MinimumPresenceRequestsChanged (a{s(uss)}: MinimumPresenceRequests)
Parameters
- MinimumPresenceRequests — a{s(uss)} (Minimum_Presence_Request_Map)
Properties
MinimumPresenceRequests — a{s(uss)} (Minimum_Presence_Request_Map)
Types
Minimum_Presence_Request_Map — a{s(uss)}
A map of active minimum presence requests.
- Key — s (DBus_Unique_Name)
- Value — (uss) (Simple_Presence)
Client unique name.
Requested minimum presence.
Rationale:
Some applications may want to monitor the currently active minimum presences required. An example is an tool allowing the user to inspect applications maintaining open connections and close those applications.