Msg.ContactService¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Msg.ContactService(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(authorizer)¶
- Parameters:
authorizer (
Msg.Authorizer
) –- Return type:
- create(contact, cancellable)¶
- Parameters:
contact (
Msg.Contact
) – aMsg.Contact
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
a new
Msg.Contact
- Return type:
Create new contact #contact and return new contact object.
- delete(contact, cancellable)¶
- Parameters:
contact (
Msg.Contact
) – aMsg.Contact
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
- Return type:
Delets #contact.
- get_contacts(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – a cancellable- Raises:
- Returns:
all contacts
- Return type:
Get all contacts accessed by contact service.