Methods
GetFavouriteContacts | () | → | a(oas): Favourite_Contacts | |
AddFavouriteContact | (o: Account, s: Identifier) | → | nothing | |
RemoveFavouriteContact | (o: Account, s: Identifier) | → | nothing | |
Clear | () | → | nothing | |
ClearAccount | (o: Account) | → | nothing | |
ClearEntity | (o: Account, s: Identifier, i: Type) | → | nothing |
Signals
FavouriteContactsChanged | (o: Account, as: Added, as: Removed) |
Types
Favorites | Struct | (oas) |
Added in 0.3. (as a draft)
Description
An interface for requesting information from the Telepathy Logger
service.
Methods
(Permalink)
GetFavouriteContacts () → a(oas): Favourite_Contacts
Returns
- Favourite_Contacts — a(oas) (Favorites_List)
The favourite contacts, as an array of TpAccounts and their contact
identifiers.
Returns the favourite contacts.
(Permalink)
AddFavouriteContact (o: Account, s: Identifier) → nothing
Parameters
- Account — o
- Identifier — s
The object path for the TpAccount to which the contact belongs
The favourite contact's identifier
Add a contact's designation as a favourite.
(Permalink)
RemoveFavouriteContact (o: Account, s: Identifier) → nothing
Parameters
- Account — o
- Identifier — s
The object path for the TpAccount to which the contact belongs
The favourite contact's identifier
Remove a contact's designation as a favourite.
(Permalink)
ClearAccount (o: Account) → nothing
Parameters
- Account — o
The object path for the TpAccount in which logs will be cleared.
Clear all logs stored for specified account.
(Permalink)
ClearEntity (o: Account, s: Identifier, i: Type) → nothing
Parameters
- Account — o
- Identifier — s
- Type — i
The object path for the TpAccount in which logs will be cleared.
The entity identifier.
The entity type, should be one of TP_ENTITY_TYPE_CONTACT (1) or TP_ENTITY_TYPE_ROOM (2).
Clear all logs stored for discussions with entity in account.
Signals
(Permalink)
FavouriteContactsChanged (o: Account, as: Added, as: Removed)
Parameters
- Account — o
- Added — as
- Removed — as
An account associated with the contact.
List of contact identifiers of contacts which are now favourites.
List of contact identifiers of contacts which are no longer favourites.
The set of favourite contacts has changed.
Types
Struct (Permalink)
Favorites — (oas)
A set of favorite contacts on a specific account.
- Account — o
- Identifiers — as
The account path
The identifiers of the favorite contacts.